Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 652 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
event_scan vs. event_detect problem #141161
07/15/07 04:58
07/15/07 04:58
Joined: Sep 2006
Posts: 106
FairyLand!!!
RruthH Offline OP
Member
RruthH  Offline OP
Member

Joined: Sep 2006
Posts: 106
FairyLand!!!
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!

Re: event_scan vs. event_detect problem [Re: RruthH] #141162
07/15/07 05:41
07/15/07 05:41
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
It works fine here, maybe there is a problem in
your script.

Re: event_scan vs. event_detect problem [Re: vlau] #141163
07/15/07 05:50
07/15/07 05:50
Joined: Sep 2006
Posts: 106
FairyLand!!!
RruthH Offline OP
Member
RruthH  Offline OP
Member

Joined: Sep 2006
Posts: 106
FairyLand!!!
Ok I'll check my code. Thx for replying!


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1