Computer Science Canada

combining processes OR not

Author:  kythoon [ 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. Embarassed So i need to figure this out fast.

Thanks all

Author:  Tony [ Thu May 22, 2003 6:52 pm ]
Post subject: 

instead of processes you use same loop with flags...

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

Author:  kythoon [ Thu May 22, 2003 6:59 pm ]
Post subject: 

i'm not really understanding what you are saying Confused

i do and i dont. could you explain it if possible in code or something