Jump to content

Display MSG on weapon fire?


blazeda59

Recommended Posts

thanks for the reply but I still cant get it working. Im having trouble defining the variable. heres my code

 

Scriptname AAASummonSCRIPT extends activemagiceffect  


Event OnSpellCast(Form akSpell)
Spell spellCast = akSpell as Spell
		if spellCast && spellCast == AAASummon
			Debug.Trace("We just cast a fireball!")
		endIf
endEvent

 

its the AAASummon part which brakes but when I add "int AAASummon" it tells me i cannot name a variable or property the same as a known type or script??

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...