Request for AnimActionChallengeIntruder coding example

Hi,

I’m trying to figure out how to use the AnimActionChallengeIntruder(); function but I can’t find any coding examples either in the Lexicon or Internet in general. I suspect I need to place a Home Waypoint in the area the NPC spawns, and I have done that, and used SetCreatureHomeWaypoint(); in my test code. The function’s supposed to work as follows: If a PC is in the NPC’s home and has not been challenged before, challenge them. This involves speaking a one-liner conversation from the conversation file “x0_npc_homeconv”. Returns TRUE on success, FALSE on failure.

Thanks

Peter :slight_smile: