CallFunction (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Calls a function on an entity’s script object

Usage

void callFunction( string functionName )

Parameters

  • [functionName] - The name of the function to call.

Examples

 
$my_entity.callFunction("fire");

Notes

This script event does not return any values.

Also see hasFunction .