new wcNodeEntryInterval(parent, pos)
An entry node that fires continuously on a regular interval.
When inheriting, make sure to include 'this._super(parent, pos);' at the top of your init function.
Parameters:
| Name | Type | Description |
|---|---|---|
parent |
string | The parent object of this node. |
pos |
wcPlay~Coordinates | The position of this node in the visual editor. |
- Source:
Methods
-
function onActivated(name) -
Overloading the default onActivated event handler so we can make it trigger our exit link on an interval.
Overload this in inherited nodes, be sure to call 'this._super(..)' at the top.Parameters:
Name Type Description namestring The name of the entry link triggered. - Source:
-
function onPropertyChanged(name, oldValue, newValue) -
Event that is called when a property has changed.
Overload this in inherited nodes, be sure to call 'this._super(..)' at the top.Parameters:
Name Type Description namestring The name of the property. oldValueObject The old value of the property. newValueObject The new value of the property. - Source:
-
function onStart() -
Event that is called as soon as the Play script has started.
Overload this in inherited nodes, be sure to call 'this._super(..)' at the top.- Source: