Also, how do people make these menus that have buttons that you can push? Where should I begin reading to learn to do that?
Formlist Property RelevantSpells AutoActor Property Player AutoEvent OnInit() RegisterForAnimationEvent(Player, "BeginCastLeft") RegisterForAnimationEvent(Player, "BeginCastRight")EndEventEvent OnAnimationEvent(ObjectReference akSource, string asEventName) if (some check) Return endif if (asEventName == "BeginCastLeft") if (RelevantSpells.HasForm(Player.GetEquippedSpell(0))) Player.InterruptCast() endif elseif (asEventName == "BeginCastRight") if (RelevantSpells.HasForm(Player.GetEquippedSpell(1))) Player.InterruptCast() endif endifEndEvent