Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Question regarding reviving buildings
Re: Question regarding reviving buildings [message #455195 is a reply to message #455191] Mon, 19 September 2011 10:11 Go to previous messageGo to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
General (4 Stars)
I had to set the health after reviving the building, works fine now. Thanks! This is what I used as a quick test:

          Restore_Building(Find_Refinery(Team));
		max = Commands->Get_Max_Health(Find_Refinery(Team));
		Commands->Set_Health(Find_Refinery(Team), max);


edit: One thing I've noticed is that your client thinks that the building is dead (e.g. shows the dead building model) until you shoot it with a pistol or anything else.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Mon, 19 September 2011 10:22]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ChatHistory=C_Key doesnt work anymore
Next Topic: "Unit ready" spam sometimes after joining a 4.0 server
Goto Forum:
  


Current Time: Sat Nov 23 13:06:35 MST 2024

Total time taken to generate the page: 0.00745 seconds