-
Notifications
You must be signed in to change notification settings - Fork 1
FAST_Event
Hyomoto edited this page Oct 16, 2020
·
9 revisions
Jump To | Go Back |
Arguments | Methods | Variables |
---|
Creates a new event that will be run with the given periodicity. The FAST.events are:\n #### FAST.CREATE, FAST.GAME_END, FAST.ROOM_START, FAST.ROOM_END, FAST.STEP_BEGIN, FAST.STEP, FAST.STEP_END
event = new FAST_Event( FAST.STEP, 30, undefined, function() {
show_debug_message( "Hello World!" );
});
Name | Type | Purpose |
---|---|---|
FAST.event | list |
The event to add this to |
delay | int |
How many frames before firing |
parameters | mixed |
A value to pass to the function |
function | func |
The function to call when the delay has passed |
Jump To | top |
once | discard | toString | is |
---|
Returns: self
Name | Type | Purpose |
---|---|---|
None |
Tells the event it should only be run once. Can be called when the event is created, as it will still return the event.
Returns: N/A 'undefined`
Name | Type | Purpose |
---|---|---|
None |
Destroys the event.
Returns: N/A 'undefined`
Name | Type | Purpose |
---|---|---|
None |
Returns the event as a string, for debugging.
Returns: N/A undefined
Name | Type | Purpose |
---|---|---|
_data_type | undef |
none provided |
No description.
Jump To | top |
---|
- tick - none provided
- tock - none provided
- repeats - none provided
- func - none provided
- params - none provided
- list - none provided
- ignore - none provided
Devon Mullane 2020