Difference between revisions of "FF7/Field/Script/Opcodes/D0 LINE"
Jump to navigation
Jump to search
my_wiki>Synergy Blades m (found trigger on/off opcode so this doesn't apply) |
my_wiki>Synergy Blades m |
||
Line 6: | Line 6: | ||
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;" | {| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;" | ||
! width="40" | 0xD0 | ! width="40" | 0xD0 | ||
− | ! width=" | + | ! width="80" | ''XA'' |
− | ! width=" | + | ! width="80" | ''YA'' |
− | ! width=" | + | ! width="80" | ''ZA'' |
− | ! width=" | + | ! width="80" | ''XB'' |
− | ! width=" | + | ! width="80" | ''YB'' |
− | ! width=" | + | ! width="80" | ''ZB'' |
|} | |} | ||
Revision as of 16:28, 6 February 2007
- 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.