Initializing help system before first use

getfromgid

getfromgid


Purpose
Get the group ID of the sender of an event.
Synopsis
function getfromgid(ev:Event):integer
Argument
ev 
An event
Return value
The group ID of the sender of the event. 0 is returned for a nullevent
Further information
1. Each model can be associated with a group ID that is attached to each event it sends. With this function one can identify the sender of a given event.
2. The group ID of an event sent from the parent model is always 0.
Related topics
Module