Function; Event_IsDone - HWRM/KarosGraveyard GitHub Wiki

Event_IsDone(<sEventName>)

Description

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.

Example

if Event_IsDone("intelevent_beginharvesting")==1 then

...code...

end

Arguments

<sEventName>: the name of the event defined in the Events table.

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial