Page 1 of 1

program flow

Posted: 2006-07-12 05:08:56
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.

Posted: 2006-07-12 12:26:17
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: