Oh my. ._. How many strings can fit in specific.ids, then?
I believe 256 (numbered 0 to 255). 0 means no state; what I suggest is to use a FOR which looks for all numbers in the ids file and stops when one is still 'free'. I can attach the code I used, but I'll have to look for it
of course, if anyone found out how to make that script of yours working, it would be much better
edit: if you look at
my thread in the same forum, Mike suggested to use opcode 309 set local: you could set a local variable on everyone, and then Aerie's script could contain:
IF
Global("[name such as AerieGrease]","Local",1)
Global("AerieHasWhatever","GLOBAL",0)
THEN
RESPONSE #100
CreateCreature("L-BLMAE",[-1.-1],0)
SetGlobal("AerieHasWhatever","GLOBAL",1)
ENDof course, the local variable would be set ANY time the spell is used, for anyone who's hit by that, but it would just stay there..
Edited by Turambar, 04 November 2010 - 09:25 AM.