combining processes OR not
Author |
Message |
kythoon
|
Posted: Thu May 22, 2003 6:30 pm Post subject: combining processes OR not |
|
|
i need some help now with that timer thing. i did what u suggested but its not working, or maybe its just the programming. what i want is once the character is outside, the outside procedure, they timer starts.
after say 3 seconds the small troll appears, then 5 seconds after that the next and so on
the procedure names to use are commented
if i shouldn't use process, then what?
this is my final year project, and its do tomorrow. So i need to figure this out fast.
Thanks all |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Thu May 22, 2003 6:52 pm Post subject: (No subject) |
|
|
instead of processes you use same loop with flags...
so code: | if monsterAppearFlag = true then... | you load up a procedure to make a new moster appear... then reset the flag to false.. you'll also have a timer find new time each time through the loop... and once enough time passes, you reset the flag variable to true once again and procedure repeats |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
kythoon
|
Posted: Thu May 22, 2003 6:59 pm Post subject: (No subject) |
|
|
i'm not really understanding what you are saying
i do and i dont. could you explain it if possible in code or something
thanks |
|
|
|
|
|
|
|