The interact command is activated when an interactable object is used.
"if(interact)"
And example of the interact command used in a script is as follows...
The following script destroys an object and creates a weapon when it is interacted with.
if(interact)
{
then(createweapon,16,16)
then(destroy)
}
|
|