Few of them I know how to fix, others I have no clue what is wrong. Some examples:
Too few arguments
TakePartyItem("MISC4Q")
DestroyItem("MISC4Q")
AddexperienceParty(18500)
SetGlobal("AerieTransform","GLOBAL",1)
Wait(1)
Polymorph(MAGE_FEMALE_ELF)
ApplySpell(Myself,AERIE_PORTRAIT)
Wait(2)
StartDialogueNoSet()
In ACTION.IDS: StartDialogNoSet(O:Object*) - 198
Missing quotes
SetGlobal("D0PrisonersFree","GLOBAL",1)
IG("D0Chg2",0,1)
IncrementGlobal("D0Change","GLOBAL",1)
DialogueInterrupt(FALSE)
DestroySelf()
In ACTION.IDS: IG(S:GLOBAL*,S:Area*D0VTYPE,I:Value*) - 163
Too few arguments - Here I assume the state is missing (duh)
IF
!RandomNum(6,4)
OR(2)
!HasBounceEffects(FourthNearestEnemyOf(Myself))
GlobalTimerNotExpired("xyxDoesNotSeeBounce","LOCALS")
OR(2)
GlobalTimerNotExpired("xyxDoesNotSeeBounce","LOCALS")
!HasItemEquiped("CLCK26",FourthNearestEnemyOf(Myself)) // Cloak of Mirroring
!StateCheck(FourthNearestEnemyOf(Myself),)
CheckStat(FourthNearestEnemyOf(Myself),0,SANCTUARY)
OR(2)
GlobalTimerNotExpired("xyxDoesNotSeeImmunity","LOCALS")
CheckStatLT(FourthNearestEnemyOf(Myself),50,RESISTMAGIC)
!Name("Viconia",FourthNearestEnemyOf(Myself))
!HasItem("MINHP1",FourthNearestEnemyOf(Myself)) // No such index
!HasItem("IMOENHP1",FourthNearestEnemyOf(Myself)) // Imoen's Belt
See(FourthNearestEnemyOf(Myself))
False()
THEN
RESPONSE #100
END
In TRIGGER.IDS: StateCheck(O:Object*,I:State*State) - 16439
Well, you get the idea. I'm wondering if NI is going nuts and find errors where there are not... or indeed the errors are there and I'll have to manually fix them? (I guess the shortest way to fix these things is to find their original baf and do it there?)
EDIT:
Some of these scripts might belong to mods, I don't know and probably don't care much. I'm just trying to learn stuff the hard way... so the above are examples and just that.
Just to be clear
Edited by Jewish, 19 October 2004 - 04:15 AM.