Hi
No doubt this has been on before, but I can't seem to find it and I'm sure I must of ticked a box by accident but cant find it.
I made a variable for my spells, which will send the nane of the spell to the status line when I change it, this was working well, however now it sends the previous variable and not the variable I change it too.
So, if I change my spell to magic missile, the old veriable (say light) gets sent to the status line although if I look in the variable box magic missile is there
Let me know what I did wrong please, the code I use is below
SetVariable ("spellname1", "magic missile")
ColourNote ("white", "blue", "Spell is now: @spellname1")
ColourNote ("white", "blue", "Target is still: @target")
SetStatus ("Target: @target / Spell: @spellname1")
(which will come out as light or whatever the last variable was
Thanks
Val
No doubt this has been on before, but I can't seem to find it and I'm sure I must of ticked a box by accident but cant find it.
I made a variable for my spells, which will send the nane of the spell to the status line when I change it, this was working well, however now it sends the previous variable and not the variable I change it too.
So, if I change my spell to magic missile, the old veriable (say light) gets sent to the status line although if I look in the variable box magic missile is there
Let me know what I did wrong please, the code I use is below
SetVariable ("spellname1", "magic missile")
ColourNote ("white", "blue", "Spell is now: @spellname1")
ColourNote ("white", "blue", "Target is still: @target")
SetStatus ("Target: @target / Spell: @spellname1")
(which will come out as light or whatever the last variable was
Thanks
Val