The GetUserDefinedEventNumber() NWScript command retrieves the integer identifying an OnUserDefined event. This is the number used to create the event with EventUserDefined(), and its meaning is completely determined by the person writing the scripts. However, the numbers 1000 through 1011, 1510, and 1511 are used by BioWare to indicate standard events that have been requested to signal a user-defined event, and accepting this meaning of these particular numbers is good scripting practice. See SetSpawnInCondition().


int GetUserDefinedEventNumber ()

This should only be used in an OnUserDefined event.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.