Jump to content

PushActorAway


Faceshifter

Recommended Posts

While I was trying to unravel the secrets of tossing people around, I encountered PushActorAway.

This, of course, was a breakthrough, but I didn't quite understand it. I can't seem to find a way to create a spell with it, since I did not find the right function for identifying the target.

I'm looking for some way to throw someone of his feet with a weapon. Come to think of it, I can't find a way to find the caster neither.

 

Can anyone enlighten me?

Link to comment
Share on other sites

I think this will work, but I haven't tried it before. You might have to add a regular effect to the spell, like Light 1 ft for 1 second.

 

scn example

array_var temparray
ref target
ref caster
short tempshort

Begin ScriptEffectStart

let temparray := GetActiveEffectCasters
let tempshort := ar_size temparray - 1
let caster := temparray[tempshort]
let target := GetSelf
;rest of your code

Edited by fg109
Link to comment
Share on other sites

  • Recently Browsing   0 members

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