- Opcode: 0x354
- Name: set entity scripts on/off
- Two-word opcode: No
Parameters
Location | Name | Description |
---|---|---|
Stack | Active | 0 - scripts disabled, 1 - scripts enabled |
Notes
When scripts disabled the entity stops processing its scripts and it will not receive interaction events. Setting this on a vehicle will disable the ability to enter the vehicle, and setting it on a weapon entity will make it so you can’t interact with it.