Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Timer_Expired
Timer_Expired [message #371542] Wed, 11 February 2009 04:18 Go to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma:
General (1 Star)
Is there a way to use the Timer_Expired inside the Enter part of a script??
small sample of what i mean:
void MyScript::Enter
{
  Commands->Start_Timer();
  Timer_Expired //want to call it here
  {
    //rest of code
  }
}


Instead of
void MyScript::Enter
{
  Commands->Start_Timer();
}
void MyScript::Timer_Expired
{
  //rest of code
}


EDIT: Now im already asking would this:
Kill_Enemy_Buildings_By_Team(0)

Be a better solution than:
ConsoleInput("win 0")


Guess this would also work if you don't run a Dedicated Server


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Wed, 11 February 2009 04:21]

Report message to a moderator

 
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: Link To This Skin?
Next Topic: Script for aircrafts needed...
Goto Forum:
  


Current Time: Mon Dec 23 15:51:50 MST 2024

Total time taken to generate the page: 0.00809 seconds