Author Topic: Field scripting question  (Read 2801 times)

luksy

  • *
  • Posts: 375
    • View Profile
Field scripting question
« on: 2011-11-24 06:42:06 »
If all goes to plan the next version of touphScript will (optionally) strip unused field scripts from flevel.lgp (this is mostly to remove unused text entries), I have it working and have briefly tested it with no issues, but I just need to check with those who have a better understanding of the script in case I'm doing something silly.

As I understand it thus far, the only way a script can be implicitly called is as follows:

script 0 of all entities is called by engine
scripts 1 - 2 of models can be called by pressing ok or entering field of contact
scripts 1 - 6 of lines can be called by interacting with the line in various ways
a script can be implicitly called by calling another script that points to it (i.e. empty scripts).

All other scripts can only be explicitly called from another script via the 7 script call opcodes.

Is this correct? Have I missed anything?

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: Field scripting question
« Reply #1 on: 2011-12-13 20:33:34 »
no one :P?

myst6re

  • *
  • Posts: 642
  • Light King of the Savegame - Field Master - FF8.fr
    • View Profile
    • FF8.fr
Re: Field scripting question
« Reply #2 on: 2011-12-13 20:44:32 »
I see nothing else to add.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: Field scripting question
« Reply #3 on: 2011-12-13 20:47:10 »
 8)