Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
following paths #257242
03/21/09 21:43
03/21/09 21:43
Joined: Feb 2006
Posts: 616
Netherlands
cartoon_baboon Offline OP
User
cartoon_baboon  Offline OP
User

Joined: Feb 2006
Posts: 616
Netherlands
Hi,
I've been trying to get objects to follow paths I make in WED.

I've been using this code, including Slin's adjustment:
Check the post here

With one path and one entity there is no problem. However I need different entities (duck1 and duck2) to follow different paths. I tried getting it to work in a rather primitive fashion by defining two entities and then duplicating the action and move function and replacing "duck" with the new instance name. This doesn't work, the entities then seem determined to follow the same path. Any ideas on how I can get different entities to follow different paths?

Btw. I don't necessarily need the entities to search for the closest path, setting a path with set_path or something would also be good.

Thanks a lot in advance!

cartoon_baboon


Last edited by cartoon_baboon; 03/21/09 22:11.
Re: following paths [Re: cartoon_baboon] #259269
04/05/09 07:45
04/05/09 07:45
Joined: Jul 2007
Posts: 50
N
Nomad Offline
Junior Member
Nomad  Offline
Junior Member
N

Joined: Jul 2007
Posts: 50
Name the paths uniquely for each duck? I did the same a long time ago and it worked well but I wonder what would happen if the ducks were ment to flock together?
If this is the case, you could approach it from the angle that one duck takes a path, the rest follow that one duck with variations in thier flight patterns for realism.
Dont know the real way smile


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