Skip to content

HasEntityScript

14.24

Class Documentation

Edit documentation

A condition that returns true if the game entity that Target gives runs a script with the hash Script. The condition searches the scripts attached to the entity. Scripts that carry an internal flag are not counted. AddScriptToEntity and RemoveScriptFromEntity attach and remove scripts. If no game entity has the id, the condition records a script error and returns false.

Properties

Script

Hash = "0x0"
Edit documentation

The hash of the script to look for. It is the same script hash that RemoveScriptFromEntity.Script takes.