Jump to content

[LE] Event OnUse() ? xDDD


Recommended Posts

is there any way to script event that start when

- Bow use

- Bow Shot

- Weapon hit

- Spell shot

- Power use

 

? :D

i want to add script to weapons and spells and powers

 

and then this power / spell / weapon is use by any1 then event is starting xD

 

lel...

 

:c...

rly need this

Link to comment
Share on other sites

Most of these events can be triggered by OnActorAction. That event needs to be registered for with RegisterForActorAction first.

 

It's also possible to use OnAnimationEvent for some of the actions. It needs to be registered as well. A list with animation events can be found here, but it's not complete.

 

And lastly there's OnPlayerBowShot. As far as I remember it only works for bows, but not crossbows.

 

 

I have to add that these script events are not for use on weapons, but on a Player/NPC alias.

Edited by Ghaunadaur
Link to comment
Share on other sites

As Ghaunadaur said - suggested.

 

I think the best way to go is with "OnAnimationEvent", because it covers the majority of the actions you want your script to fire.

Edited by maxarturo
Link to comment
Share on other sites

  • Recently Browsing   0 members

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