SphereCommunity
Detecting events on another npc - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Detecting events on another npc (/Thread-Detecting-events-on-another-npc)



Detecting events on another npc - UltimaAku - 04-13-2014 09:44 PM

Very simple question, but I've never come across an instance where I've had to do this so i'm not sure.

Anyone know how to add a section that checks if a target hits something to check a specific event?
e.g:

ON=@HIT
IF (<SRC.EVENT=e_thisguy>)
SAY This guy has this event!

Not sure if this is right.


RE: Detecting events on another npc - darksun84 - 04-13-2014 10:22 PM

ISEVENT.event_defname R Returns 1 if the object has an event attached to it.