LUADOC - Farming Simulator 17

Printable Version

triggerFunctionName

Description
This function is called when a trigger event occurs.
Definition
triggerFunctionName(integer triggerId, integer otherId, boolean onEnter, boolean onLeave, boolean onStay)
Arguments
integertriggerIdtrigger id
integerotherIdid of the other object
booleanonEnteron enter
booleanonLeaveon leave
booleanonStayon stay