Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

SignalEvent

From NWNWiki

Jump to: navigation, search

SignalEvent() is a NWScript function that causes the specified object to fire the specified event. This causes the object to execute the script associated with the event once the current script finishes (not in the middle of the current script's execution; c.f. ExecuteScript).

[edit] Definition

void SignalEvent(object oObject, event evToRun)

object oObject
Specifies the object that will receive the event.
event evToRun
Specifies the event the be sent.

The event being sent must be constructed by EventActivateItem(), EventConversation(), EventSpellCastAt(), or EventUserDefined(). Outside spell scripts — which use EventSpellCastAt() — the most commonly used of these functions is EventUserDefined().

Rate this article:
Share this article: