script 2 events at once ......... kinda dum I know

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

script 2 events at once ......... kinda dum I know

Post by small_sumo »

Say I have a thread cool_action.....

cool_action:

$tarzan runto tree1

$jane walkto tree1

end

Now in game tarzan will do his walk then after, jane will do her walk. How do I script the 2 events to happen at once? So tarzan and jane will takeoff together?

Thanks
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Three threads

Post by tltrude »

coolaction:

thread cool_action1
thread cool_action2

end

cool_action1:

$tarzan runto tree1

end

cool_action2:

$jane walkto tree1

end
Tom Trude,

Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Oh I see, just make extra threads, so simple. Doe

Thanks tltrude.

btw have you got time to look at a map?
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply