Index EarthC language
Events
Events are predefined callbacks which Earth code calls to inform script about specific problems like a shortage of ammunition or being hit by enemy etc.
event EventName(parameters)
{
[...]
}
events usually returns true or false