Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,643 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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