Jump to content

How to make Toggle items/activator items.


ghostfc3s

Recommended Posts

GOT IT!!! thank you for holding my hand through this.

 

Scriptname taunt extends ActiveMagicEffect

Potion Property DontbeaPsycho Auto Const Mandatory

Event OnEffectStart( Actor akTarget, Actor akCaster )
If( Game.GetPlayer() != akTarget )
return
EndIf

Game.GetPlayer().AddItem(DontbeaPsycho , 1, True)


EndEvent

 

The script was compiling even with the errors, it was adding { at the start and end of the script }

Edited by ghostfc3s
Link to comment
Share on other sites

Hm.. that shouldn't compile but glad you have the script working now.

 

Did you added the properties to the script?

Here you choose the toggle item. Then you should get the toggle potion back when you "consume" it.

g4jPueI.jpg

Link to comment
Share on other sites

  • Recently Browsing   0 members

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