The Black Wyrm's Lair - Forums

Mod development resources & discussion => Modder's Workshop => Topic started by: Baronius on June 06, 2005, 06:10:59 PM

Title: "Hidden" scripting commands
Post by: Baronius on June 06, 2005, 06:10:59 PM
Quote
action.ids
31 SpellRES(S:RES*,O:Target*)*
95 SpellPointRES(S:RES*,P:Target*)*
113 ForceSpellRES(S:RES*,O:Target)
114 ForceSpellPointRES(S:RES*,P:Target)
160 ApplySpellRES(S:RES*,O:Target)
181 ReallyForceSpellRES(S:RES*,O:Target)
191 SpellNoDecRES(S:RES*,O:Target*)*
192 SpellPointNoDecRES(S:RES*,P:Target*)**
204 TakePartyItemNum(S:ResRef*,I:Num*)
240 ReallyForceSpellDeadRES(S:RES*,O:Target)***
318 ForceSpellRangeRES(S:RES*,O:Target)***
319 ForceSpellPointRangeRES(S:RES*,P:Target)***
337 ReallyForceSpellPointRES(S:RES*,P:Target*)

trigger.ids
0x4031 HaveSpellRES(S:Spell*)

* S:RES* is case sensitive! Write these strings UPPERCASE!
** Spell is no longer memorized after casting as it should be! (same as SpellPointNoDec - igi look at it, pls)
*** I did not test it because I do not know how it should work.


Above is your list drake127. I suppose that commands written with green work properly, with blue text work but not as they should be, and with red text do not work or haven't been tested yet.

I have just tested HaveSpellRES and it didn't work indeed. So did you write it with red because it doesn't work for you either, right?
Title: "Hidden" scripting commands
Post by: drake127 on June 06, 2005, 08:57:33 PM
QuoteAbove is your list drake127. I suppose that commands written with green work properly, with blue text work but not as they should be, and with red text do not work or haven't been tested yet.
I have just tested HaveSpellRES and it didn't work indeed. So did you write it with red because it doesn't work for you either, right?
Exactly, untested red I marked with ***. Blue behave different than they should but they work.
HaveSpellRES does not work.

To trigger.ids add:
0x4078 NumItemsGT(S:ResRef*,O:Object*,I:Num*)
0x4079 NumItemsLT(S:ResRef*,O:Object*,I:Num*)
0x407A NumItemsParty(S:ResRef*,I:Num*)
0x407B NumItemsPartyGT(S:ResRef*,I:Num*)
0x407C NumItemsPartyLT(S:ResRef*,I:Num*)


Next I tested SpellRES and I found it must not contain only numbers (I tried sequence 1,12,123,... but even 1234567 did not work).
Title: "Hidden" scripting commands
Post by: Echon on June 07, 2005, 12:43:05 PM
Quote from: drake127To trigger.ids add:
0x4078 NumItemsGT(S:ResRef*,O:Object*,I:Num*)
0x4079 NumItemsLT(S:ResRef*,O:Object*,I:Num*)
0x407A NumItemsParty(S:ResRef*,I:Num*)
0x407B NumItemsPartyGT(S:ResRef*,I:Num*)
0x407C NumItemsPartyLT(S:ResRef*,I:Num*)

If you have a look at IESDP, you will notice these are not new.

-Echon