event_user

Calls one of the 16 user-defined events.

Syntax:

event_user(numb);


Argument Description
numb The number of event to call, between 0 and 15.


Returns: N/A


Description

With this function you tell the instance to run the actions or code that has been placed within one of the 16 user defined events. These events can only be called in this way, or using the event_perform function.


Example:

event_user(4);

This would call User Defined Event 4.


Back: Generating Events
Next: event_inherited
© Copyright YoYo Games Ltd. 2015 All Rights Reserved