Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Players versus AI
Re: Players versus AI [message #320154 is a reply to message #320149] Mon, 03 March 2008 11:31 Go to previous messageGo to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma:
General (1 Star)
Jerad Gray wrote on Mon, 03 March 2008 11:00

Dthdealer wrote on Fri, 29 February 2008 16:44

MSwindows wrote on Sat, 01 March 2008 00:34

Yes but the problem with that is once it repairs the arrow then there is no way for the arrow can take damage. So if the building takes damage then the bot would not repair it because it is only repairing the arrow, which is at full hp already and can't take any damage. So you would probley would need to attach another script to the building controller that sends info to the arrow telling to take damage according to the building controllers needs.

Wha?



  1. If the daves arrow is lets say 1 hp below max, the engineer will always be repairing it.
  2. The daves arrow cannot be repaired or shot itself, as it does not collide with projectiles.
  3. ∴ if it is placed on the front of the mct, the engineer will end up repairing the mct.



Script the building controller to repair the arrow when the building reaches full health.





Another (more complex) way, would be to attach a script (e.g.) "zbl_Obelisk_Repair" to the OB. Have that script report damage to the dave's arrow and deal damage to the dave's arrow with script (e.g.) "zbl_Obelisk_Damage_Repair" and this arrow would have that "M03_Repair_Target" script attached to it. Wink

~Zack
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Okay, this that and that, how do I do it.
Next Topic: Custom Scripts
Goto Forum:
  


Current Time: Tue Jul 16 17:03:16 MST 2024

Total time taken to generate the page: 0.01182 seconds