sgs_EventState [function]
SGSBOOL sgs_EventState( sgs_Context* C, sgs_Variable evt, int state )
Sets the event state.
- Function returns the previous state of the event.
evt
must be the event object.state
can be one of these values:SGS_TRUE
,SGS_FALSE
orSGS_QUERY
.SGS_QUERY
doesn't modify the state, only returns it.