I would like to have a NPC rogue place a trap on the ground wherever that NPC may be standing. It looks like ActionUseSkill will not allow an NPC to use SKILL_SET_TRAP. Or that's what I understand from the Lexicon. What function can I use to do this?
NPC set trap?
Débuté par
Buddywarrior
, avril 18 2014 03:09
#1
Posté 18 avril 2014 - 03:09
#2
Posté 18 avril 2014 - 03:54
Funny what a shower and a cup of coffee can do. Sorry for the post. The function is just CreateTrapAtLocation with GetLocation(OBJECT_SELF). Perhaps somebody else may find it useful.
CreateTrapAtLocation(TRAP_BASE_TYPE_AVERAGE_FIRE,GetLocation(OBJECT_SELF),4.0f,"NW_IT_TRAP018",STANDARD_FACTION_HOSTILE,"","");
- Grymlorde et Rolo Kipp aiment ceci





Retour en haut






