Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/354"
< FF7 | WorldMap Module | Script | Opcodes
Jump to navigation
Jump to search
my_wiki>BukTop m (1 revision imported) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
* Opcode: '''0x354''' | * Opcode: '''0x354''' | ||
| − | * Name: | + | * Name: set entity scripts on/off |
* Two-word opcode: No | * Two-word opcode: No | ||
| Line 11: | Line 11: | ||
|- | |- | ||
| Stack | | Stack | ||
| − | | | + | | Active |
| − | | | + | | 0 - scripts disabled, 1 - scripts enabled |
|} | |} | ||
==== Notes ==== | ==== 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. | ||
Latest revision as of 17:52, 30 December 2024
- 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.