Activate (script event)

From modwiki

Jump to: navigation, search

Description

Activates this entity as if it was activated by a trigger.

Usage

In your script type...

void activate( entity activator )

Parameters

  • [activator] - The entity that caused the action (usually the player).

Examples

 
$my_entity.activate($player1);

Notes

This script event does not return any values.


Personal tools
Main