Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » LE
LE [message #279464] Thu, 16 August 2007 16:34 Go to next message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

What script do i use to Change the Max health of a building and set the health of the building as the same?

Dont tell me to goto settings and ajust it there, i need a script as i am using the object in other maps on the same server Thus meaning same objects File. Needs to be script

Please anyone, thanks in advance.


I Am TeH OnE
Re: LE [message #279465 is a reply to message #279464] Thu, 16 August 2007 16:39 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
Wait, I am confused. So your trying to change the maximum health of a structure for server side?

You should be able to change it manually in the building controller's settings. It will just show up with more health than it looks in game.

For example, if you change a turrets health to be more than current. Lets say it has 100 health, and you change it to 200. The turret will always show it having 100 health in game. The health bar will stay full until you hurt it below 100 health.

So if you hurt it to a point where it has 150 health, the health bar would remain full. It would only go down when it goes below 100 health.


I don't know why you would need a script to change health.
Re: LE [message #279468 is a reply to message #279464] Thu, 16 August 2007 17:01 Go to previous message
CdCyBoRg is currently offline  CdCyBoRg
Messages: 76
Registered: June 2005
Location: England
Karma: 0
Recruit

Sorry, i mean Object, not building.

I Am TeH OnE
Previous Topic: Skirmish mod!
Next Topic: !teleport lua scripting
Goto Forum:
  


Current Time: Fri Dec 13 19:39:41 MST 2024

Total time taken to generate the page: 0.00635 seconds