Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: luksy on 2011-11-24 06:42:06

Title: Field scripting question
Post by: luksy 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?
Title: Re: Field scripting question
Post by: DLPB_ on 2011-12-13 20:33:34
no one :P?
Title: Re: Field scripting question
Post by: myst6re on 2011-12-13 20:44:32
I see nothing else to add.
Title: Re: Field scripting question
Post by: DLPB_ on 2011-12-13 20:47:10
 8)