xboxscene.org forums

Author Topic: Having Script Trouble  (Read 83 times)

Pyro0623

  • Archived User
  • Jr. Member
  • *
  • Posts: 87
Having Script Trouble
« on: January 20, 2006, 04:37:00 AM »

I am trying to make a small mod to revive my companion when she dies( she is super weak and always gets beat down in 1 or 2 hits). I was thinking just a simple scripted ring she can wear with somthing like:
CODE
Begin revive

Short Ondeath

If ( Ondeath == 1 )
    Resurrect        
endif

End revive


But to my dismay, it does not work. it compiles fine, The CS doesn't bitch about anything, but nothing happens ingame when i test it.
 so can someone debug my script for me, since i have no idea what i'm looking for?
Logged

turk645

  • Archived User
  • Newbie
  • *
  • Posts: 33
Having Script Trouble
« Reply #1 on: September 17, 2006, 11:22:00 AM »

couldnt you just do an on equip script and make it so it permanatly sets the wearer's health to 5000, thus giving them invincability?
Logged