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 |
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?
- If the daves arrow is lets say 1 hp below max, the engineer will always be repairing it.
- The daves arrow cannot be repaired or shot itself, as it does not collide with projectiles.
- ∴ 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.
~Zack
|
|
|
|
|
Players versus AI
By: Fenrir on Mon, 25 February 2008 15:54
|
|
|
Re: Players versus AI
By: cnc95fan on Mon, 25 February 2008 15:58
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: cnc95fan on Mon, 25 February 2008 16:04
|
|
|
Re: Players versus AI
By: Yrr on Mon, 25 February 2008 16:07
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Fenrir on Mon, 25 February 2008 16:27
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: cnc95fan on Mon, 25 February 2008 16:30
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Fenrir on Mon, 25 February 2008 16:38
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Fenrir on Mon, 25 February 2008 17:15
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Lone0001 on Mon, 25 February 2008 17:58
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Lone0001 on Mon, 25 February 2008 20:17
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Fenrir on Tue, 26 February 2008 07:44
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Veyrdite on Fri, 29 February 2008 02:38
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
By: Veyrdite on Fri, 29 February 2008 16:44
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
|
|
Re: Players versus AI
|
Goto Forum:
Current Time: Wed Jan 01 17:32:48 MST 2025
Total time taken to generate the page: 0.01234 seconds
|