Activate (script event)

Game class

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

Description

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

Usage

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.