Difference between revisions of "FF7/Field/Script/Opcodes/D0 LINE"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
my_wiki>Synergy Blades m (found trigger on/off opcode so this doesn't apply) |
||
Line 25: | Line 25: | ||
==== Description ==== | ==== Description ==== | ||
− | Defines a line on the walkmesh that, when crossed by a playable character, causes one of the entity's scripts to be executed. These are similar to the triggers in [[FF7/Field/3D Related|Section 8]] | + | Defines a line on the walkmesh that, when crossed by a playable character, causes one of the entity's scripts to be executed. These are similar to the triggers in [[FF7/Field/3D Related|Section 8]]. All the lines in the current field can be turned on or off by using the [[FF7/Field/Script/Opcodes/D1 LINON|LINON]] opcode. |
Revision as of 19:26, 18 August 2006
- Opcode: 0xD0
- Short name: LINE
- Long name: Line Definition
Memory layout
0xD0 | XA | YA | ZA | XB | YB | ZB |
---|
Arguments
- const Short XA: X-coordinate of the first point of the line.
- const Short YA: Y-coordinate of the first point of the line.
- const Short ZA: Z-coordinate of the first point of the line.
- const Short XB: X-coordinate of the second point of the line.
- const Short YB: Y-coordinate of the second point of the line.
- const Short ZB: Z-coordinate of the second point of the line.
Description
Defines a line on the walkmesh that, when crossed by a playable character, causes one of the entity's scripts to be executed. These are similar to the triggers in Section 8. All the lines in the current field can be turned on or off by using the LINON opcode.