Jump to content

Help me with this script...


reaper9111

Recommended Posts

Hello guys, i`m curently working on a mod that require me to have this script :

-Running as a magic effect

-Affect only the undead (all type of undead)

-this script is to be include in a clothing enchantment...

 

Scn MyScriptName

 

Ref TargetRef

 

Begin ScriptEffectStart

 

If GetFactionRank UndeadFaction == 1 ;only undead affected ?

Set TargetRef to GetSelf ;so they are affected...?

Player.PushActorAway TargetRef 20 ;push them away at range of 20 unit

EndIf

 

End

 

 

So, why is it not working ? Where am'i wrong and why ?

Also, i wanted to know what is the best SCRIPT command (NOT CONSOLE) to disable all AI for a certain amount of time... ???

Thankx for your time and for sharing your knowledge...

Link to comment
Share on other sites

  • Recently Browsing   0 members

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