Jump to content

Help with PushActorAway


kjmarket

Recommended Posts

All the scripts I've seen imply that you use the effect script witha weapon and it causes knockback. Ok, simple enough. Geck doesnt liuke the line all the scripts uses...

 

Player.PushActorAway Target 104

 

Geck gives the error that Target isnt a valid OjectReferenceID. I understand the error and know what the ID is, I was jsut under the impression that Target would become whoever the thing hits. It couldnt work any other way,s o I'm confused by Geck not liking it,a nd yes I'm ruiing geck using fose_loader.exe. Any help?

Link to comment
Share on other sites

You don't need fose for this.

 

Putting simply the word 'Target' in will not hit a 'target'. You'd have to assign someone to that 'target' first, that's why the RefID-error shows up.

Ow and no, you can´t push all...just NPCs/Creatures as they are an 'Actor'. Check the CS/version for more info. (Like that a negative value adds a pull effect.)

I take it you understand the rest, so I'll keep it as brief as yours:

ref rTarget

set rTarget to GetSelf
Player.PushActorAway rTarget 104

Link to comment
Share on other sites

  • Recently Browsing   0 members

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