Jump to content

Need help for a new perk


sagittarius22

Recommended Posts

I'm making a new perk which adds the possibility to push ennemies, but it does not work.

This is an "Add activate choice" perk and here is the script:

 

Ref rActivated
set rActivated to GetActionRef
if (IsPC1stPerson==1)
player.playidle Loose1stPBrahminPush
player.pushactoraway rActivated 2
ApplyImageSpaceModifier SAGImageSpacePerk1
player.setactorvalue RadiationRads 50

elseif (IsPC1stPerson==0)

player.playidle Loose3rdPBrahminPush
player.pushactoraway rActivated 2
ApplyImageSpaceModifier SAGImageSpacePerk1
player.setactorvalue RadiationRads 50
endif

 

When I click on "Push" button, nothing happens.

 

Can someone tell me what I am doing wrong?

 

http://img1.sunderpicture.com/_/2/Capturer-9cd249b7a93b66bd739a1ef36f60c983.jpg

Edited by sagittarius22
Link to comment
Share on other sites

  • Recently Browsing   0 members

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