event_scan vs. event_detect problem

Posted By: RruthH

event_scan vs. event_detect problem - 07/15/07 04:58

Hello!

Gotta ask this question. Which event goes first? event scan or detect?

I have a detect event for my Garbage Truck. If it 'detects' a garbage, it stops for a bit(does an animation of picking the garbage) and then moves again.

The Garbage taken by the truck has an action w/ a scan event. If it is scanned, it is removed. However when I test the game, it only runs the garbage's 'scan event' and the garbage truck's 'detect event' is ignored. So when the Truck gets near the Garbage, it doesn't stop (or do an animation) but the garbage is removed.

Why is the Truck's detect event-function ignored?

Hope you understood my problem.
Thanks in advance!
Posted By: vlau

Re: event_scan vs. event_detect problem - 07/15/07 05:41

It works fine here, maybe there is a problem in
your script.
Posted By: RruthH

Re: event_scan vs. event_detect problem - 07/15/07 05:50

Ok I'll check my code. Thx for replying!
© 2024 lite-C Forums