Touches (script event)

From modwiki

Jump to: navigation, search

Description

Returns true if this entity touches the other entity.

Usage

In your script type...

float touches( entity other )

Parameters

  • [other] - The entity to check against.

Examples

 
$my_entity.touches($door_1);

Notes

This script event does not return any values.


Personal tools
Main