mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Eliminate ConsoleFunction and ConsoleMethod, replace with DefineEngineStringlyVariadic
This commit is contained in:
parent
323206a796
commit
bc435a3b33
18 changed files with 112 additions and 84 deletions
|
|
@ -181,7 +181,7 @@ DefineEngineFunction( getTimeSinceStart, S32, (S32 scheduleId), ,"getTimeSinceSt
|
|||
return ret;
|
||||
}
|
||||
|
||||
ConsoleFunction(schedule, S32, 4, 0, "schedule(time, refobject|0, command, <arg1...argN>)")
|
||||
DefineEngineStringlyVariadicFunction(schedule, S32, 4, 0, "schedule(time, refobject|0, command, <arg1...argN>)")
|
||||
{
|
||||
U32 timeDelta = U32(dAtof(argv[1]));
|
||||
SimObject *refObject = Sim::findObject(argv[2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue