Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Create New Beacon Preset Question...
Re: Create New Beacon Preset Question... [message #372567 is a reply to message #372539] Wed, 18 February 2009 15:25 Go to previous messageGo to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma:
General (3 Stars)
With a little code you could use the principle of what I did in that old tutorial (destroying the beacon and replacing it with a flare or an invisible object) but have it perform many different functions. By setting booleans on the player it could make the invisible object call different functions...

bool has_airstrikebeacon false;
bool has_reinforcementbeacon false;
etc
etc

Then when the beacon is placed, get the player object of the placer, and if they pass the condition of if (has_airstriokebeacon), make it do the airstrike.
With a little bit of code you really are not limiting yourself, you could use the one beacon for many different uses.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: .INI´s doesnt work
Next Topic: looking for c++ scripters
Goto Forum:
  


Current Time: Thu Dec 19 11:14:52 MST 2024

Total time taken to generate the page: 0.00747 seconds