Function; Event_IsDone
Cloaked edited this page Jun 10, 2020
·
1 revision
Event_IsDone(<sEventName>)
Returns true if the event <sEventName> has finished playing.
Used in SP scripts to prevent two events from running simultaneously or to wait for the end of an event before adding a new rule.
if Event_IsDone("intelevent_beginharvesting")==1 then
...code...
end
<sEventName>: the name of the event defined in the Events table.
SCAR (SCripting at Relic) Reference
Updated Formatting? Initial
Updated for HWRM? Initial
| Home | Search | Recent Changes | Revision History | About | User Help | Contributor Help | Discussion |