So far I have tried casting a spell that sets a global. In a script if have the following:
CODE
IF
Global("PConly","GLOBAL",1)
Class(Player1,MAGE_ALL)
IsActive(Player1)
THEN
RESPONSE #100
ActionOverride(Player1,ForceSpellRES("MyPConlyspell",Myself)) ActionOverride(Player1,DisplayStringHead(Myself,8538))
SetGlobal("PConly","GLOBAL",2)
END
Global("PConly","GLOBAL",1)
Class(Player1,MAGE_ALL)
IsActive(Player1)
THEN
RESPONSE #100
ActionOverride(Player1,ForceSpellRES("MyPConlyspell",Myself)) ActionOverride(Player1,DisplayStringHead(Myself,8538))
SetGlobal("PConly","GLOBAL",2)
END
Ignore the DisplayStringHead..thats just for testing.
What is happening is that even if someone else in the party casts the first spell my Player1 starts casting "MyPConlySpell"
I can't seem to find a valid script command that specifies PC only.
I will also need a command that will work if someone not the PC casts the spell. I can use this in a second script block.