Jump to content

Recieve EOF error calling function from another script


Recommended Posts

Writing a script, trying to call a function from another script and it is giving me an End Of File Error. What is it wanting me to do? I have looked for an answer and everything looks like they write it out exactly as I did.


The error: "missing EndOfFile at '('"


Scriptname PlayerEquip extends Actor Const

Quest Property Tier_Lvl_Script Auto Const

(PerkReg as Tier_Lvl_Script).PerFunction()  <---------Error Here

Event OnItemEquipped(Form akBaseObject , ObjectReference akReference)
	If ItemEquipped as Weapon
		ItemEquipped = WpnEquipped
	If akBaseObject == Game.GetPlayer().OnEquipped(ItemEquipped)


Link to comment
Share on other sites

  • Recently Browsing   0 members

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