Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 3,790 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
pathfilter for path_scan #246623
01/15/09 21:38
01/15/09 21:38
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi,

could you please add some kind of filter to path_scan ???

Currently the path_scan command finds all nodes of every path inside the given range, but many times it's important to be able to scan only for nodes of a certain path.

For example if you have two parallel paths with a short distance to each other and the player is currently walking on path 1. Now I'd like to scan for the nearest node of path 2 to my player. In this case it would be great to use path_scan, but scan only for nodes of path 2.

Maybe you could add some kind of flag that switches the path_scan command to search only for nodes that the entity is currently set to, for example:

path_scan_filter = ON;
path_set(ent, "path_002");
path_scan(ent, pos, dir, sector);

What do you think ???

Best regards,
Pegamode.

Re: pathfilter for path_scan [Re: pegamode] #247936
01/23/09 13:51
01/23/09 13:51
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Are there any plans to extend the path_scan ???

Re: pathfilter for path_scan [Re: pegamode] #248373
01/26/09 13:15
01/26/09 13:15
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
No comment??? Hmm...

Re: pathfilter for path_scan [Re: pegamode] #248408
01/26/09 18:39
01/26/09 18:39
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
Yes, this makes indeed sense. I'll implement something.

Re: pathfilter for path_scan [Re: jcl] #248414
01/26/09 19:16
01/26/09 19:16
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hey ... that's perfect. Thank you so much.

Re: pathfilter for path_scan [Re: jcl] #248439
01/26/09 22:02
01/26/09 22:02
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
Thanks Jcl, I could use this as well.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/

Moderated by  aztec, Spirit 

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