Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Timer with a chat class command?
Timer with a chat class command? [message #377350] Tue, 24 March 2009 21:13 Go to previous message
whtdrgnpl is currently offline  whtdrgnpl
Messages: 17
Registered: July 2007
Karma:
Recruit
How do I use a timer with a chat class command? I've been trying to use this on one of them:
Commands->Start_Timer(obj,this,3.0f,1);

but I keep getting this error:
1>.\RTSplugin.cpp(2738) : error C2664: 'void (GameObject *,ScriptClass *,float,int)' : cannot convert parameter 2 from 'BuildCommand *const ' to 'ScriptClass *'
1>        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\RTSplugin.cpp(2738) : error C2664: 'void (GameObject *,ScriptClass *,float,int)' : cannot convert parameter 1 from 'int' to 'GameObject *'
1>        Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast


Huh
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Small Level Editor Tipp
Next Topic: Door Request Please!
Goto Forum:
  


Current Time: Sun Dec 22 18:26:18 MST 2024

Total time taken to generate the page: 0.01365 seconds