Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [script]Base power crate function
Re: Base power crate function [message #301009 is a reply to message #300996] Tue, 04 December 2007 14:06 Go to previous messageGo to previous message
Genesis2001
Messages: 1397
Registered: August 2006
Karma:
General (1 Star)
You could also mix it up a bit an have it randomly turn off power to EITHER your base or your opponent's base. Wink

int Team = Get_Object_Type(sender);



Change to:

float Team = Commands->Get_Random(-1,2);



Note that I'm not entirely sure how to use the Get_Random() function so someone like reborn will have to correct me if I'm wrong on my params ^,^


~MathK1LL
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [script]Bot paratroopers function
Next Topic: 2 new skin releases
Goto Forum:
  


Current Time: Wed Dec 04 09:11:54 MST 2024

Total time taken to generate the page: 0.01265 seconds