Author Topic: Scheduling a relay for a brick?  (Read 343 times)

Code: [Select]
function fxDTSBrick::delayRelay(%brick,%time,%client)
{
%brick.schedule(%time,fireRelay);
}
I'm trying to get it to schedule the brick to fire a relay in %time milliseconds, but it's not working?
Can someone explain this to me?

First off, %brick.schedule(%time,fireRelay());

Otherwise it won't use it as a function. Might be some other errors, but I'm tired so, eh.

Don't listen to HellsHero, you're doing it right.

I don't see any problems other than (I think) fireRelay requires the client to be appended. Add the %client as an argument.

Don't listen to HellsHero, you're doing it right.
Blah, just realized this. Meh, I tried.