program flow

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Kalizander
Posts: 2
Joined: 2006-04-05 03:11:30

program flow

Post by Kalizander »

I would like more than one function to run at the same time but with a parameter.

Or to give the example. When I see an enemy I would like to run the functions.

gotoenemy(enemy)
checkenemystatus(enemy)
checkmystatus(enemy)

to run symultaniously.

uo.exec('exec ...') doesn't work because of the parameter.
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

Code: Select all

if uo.injournal(' -= !! =- ') then
gotoenemy(enemy)
checkenemystatus(enemy)
checkmystatus(enemy)
else
wait(1000)
end if


something like that... i realy don't know why do you need it... post more information and those scripts too :roll:
Post Reply