Spoiler
Scriptname SIMSChooseConjuration extends activemagiceffectMessage Property MyMessage AutoSpell Property Familiar AutoSpell Property Skeleton AutoSpell Property RaiseDead AutoSpell Property BoundSword AutoSpell Property this AutoActor playerevent OnEffectStart(actor target, actor caster);menu code goes here;something likeplayer = Game.GetPlayer()if caster == playerint res;int choicewhile res != 5 ;im assuming your third button is the one you want to stop onres = MyMessage.show()if res == 0player.addSpell(Familiar)player.unequipSpell(this, 0)player.removeSpell(this)res = 5elseif res == 1player.addSpell(Skeleton)player.unequipSpell(this, 0)player.removeSpell(this)res = 5elseif res == 2player.addSpell(RaiseDead)player.unequipSpell(this, 0)player.removeSpell(this)res = 5elseif res == 3player.addSpell(BoundSword)player.unequipSpell(this, 0)player.removeSpell(this)res = 5elseif res == 4res = 5endifUtility.wait(0.8)endwhileendifendevent
But the spell doesn't get removed from the player's inventory. Everything else works. Any ideas??
If not I'll just change it an object and have the player equip that.
EDIT: No idea why it isn't formatting properly.