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
1 registered members (AbrahamR), 717 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
end of path #167460
11/14/07 22:22
11/14/07 22:22
Joined: Jul 2005
Posts: 72
Pr0gr4mm3r Offline OP
Junior Member
Pr0gr4mm3r  Offline OP
Junior Member

Joined: Jul 2005
Posts: 72
how to know that the entity arrived at the end of a PATH?
I want the entity to stop in the end of PATH.
Thank you!


my site of 3d gamestudio: http://byteseartes.sitesled.com
Re: end of path [Re: Pr0gr4mm3r] #167461
11/14/07 23:29
11/14/07 23:29
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
well since your path will always be a circle, use path_nextnode to check wether or not the next node is 1 (1 is the first node). So if the result of path_nextnode == 1, then the current node is the last one.


Click and join the 3dgs irc community!
Room: #3dgs
Re: end of path [Re: Joozey] #167462
11/15/07 01:59
11/15/07 01:59
Joined: Jul 2005
Posts: 72
Pr0gr4mm3r Offline OP
Junior Member
Pr0gr4mm3r  Offline OP
Junior Member

Joined: Jul 2005
Posts: 72
Ok, will test. Thank you!


my site of 3d gamestudio: http://byteseartes.sitesled.com

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