Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Schedule vehicle power not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: Schedule vehicle power not working (Read 477 times)
Farad
August 28, 2015, 03:06:09 AM
Trying to enable vehicle power after 5 seconds, so I tried this:
%vehicleSpawnBrick.schedule(5000,0,setVehiclePowered,1);
any ideas why it doesn't work?
Ad Bot
Advertisement
Kyuande
August 28, 2015, 03:15:44 AM
Proper use for objects:
object.schedule(timeMS, function, args[]);
Dannu
August 28, 2015, 04:52:02 AM
The second argument
is
the refObject, to expand on what Kyuande said.
boodals 2
August 28, 2015, 09:01:01 AM
schedule(%time, %object, %function, %arg1, %arg2, ... , %argN);
=
%object.schedule(%time, %function, %arg1, %arg2, ... , %argN);
Torque is just dumb and adds a parameter for object even though there's an object method of schedule.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Schedule vehicle power not working