Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 911 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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