Game Development Community

Add a delay into my behavior

by cedric pastof · in Torque Game Builder · 10/04/2010 (2:23 am) · 1 replies

Hello,

I want to add a delay in my script, but I don't know how to do that into my behavior.

What I want is to ask the character to do something, wait during like 5000 milliseconds, and do an other thing.

I already searched in the forum about adding a delay in my script, but nothing working.
I don't understand what to add.
I read about "schedule", but when I used it aparently it doesn't work.

Is someone can help me please?

#1
10/07/2010 (1:25 pm)
AFAIK there isn't a sleep or anything like that, but schedule should work. Can you post your code and exactly what you are trying to do and someone should be able to help.