Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Replacing Vehicles With Weapons
Re: Replacing Vehicles With Weapons [message #177786 is a reply to message #165125] Thu, 03 November 2005 22:25 Go to previous message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma:
Recruit
i got a working method

1) needs variable on the last GDI and NOD who bought tanks
1.1) Declarde 2 gameobjects (global)
2) attach script to player monitering credits
2.1) if credits go down and it's not because of buying a beacon, then the player is the latest to buy a tank
2.2) set that players object to global last gameobject
3) when a tank gets created, make it look at the last gameobject (depending on nod or gdi)
3.1) grant powerup to player
3.2) destroy tank

- your done.


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
 
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: AOW 1.34 compile - 2 libs missing [wsock32.lib and ?????]
Next Topic: Obelisk Problem
Goto Forum:
  


Current Time: Wed Dec 11 23:47:21 MST 2024

Total time taken to generate the page: 0.01231 seconds