CallFunction (script event)

From modwiki

Jump to: navigation, search

Description

Calls a function on an entity's script object

Usage

In your script type...

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.


Personal tools
Main