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
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 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
No method to get a reference to a position placed in WED #400476
05/01/12 18:11
05/01/12 18:11
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi, there exists no description to obtain a position that can be placed in WED (this camera symbol). I'm not quite sure if there is any method to do so. ent_for_name returns NULL if I pass the name of a position.

Re: No method to get a reference to a position placed in WED [Re: PadMalcom] #400481
05/01/12 22:40
05/01/12 22:40
Joined: Aug 2003
Posts: 902
Van Buren, Ar
Gordon Offline
User
Gordon  Offline
User

Joined: Aug 2003
Posts: 902
Van Buren, Ar
I don't think there is one but it would be nice to have...


Our new web site:Westmarch Studios
Re: No method to get a reference to a position placed in WED [Re: Gordon] #400483
05/01/12 22:57
05/01/12 22:57
Joined: Aug 2003
Posts: 902
Van Buren, Ar
Gordon Offline
User
Gordon  Offline
User

Joined: Aug 2003
Posts: 902
Van Buren, Ar
I take that back... c_scan will locate them...


Our new web site:Westmarch Studios
Re: No method to get a reference to a position placed in WED [Re: Gordon] #400486
05/02/12 06:21
05/02/12 06:21
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
But what does c_scan return if not a reference to an entity? ent_for_name should work as well then.

Re: No method to get a reference to a position placed in WED [Re: PadMalcom] #400500
05/02/12 12:09
05/02/12 12:09
Joined: Aug 2003
Posts: 902
Van Buren, Ar
Gordon Offline
User
Gordon  Offline
User

Joined: Aug 2003
Posts: 902
Van Buren, Ar
from the manual...

Modifies:
you Pointer to the closest detected entity.
result Distance to the closest detected object.
target Position of the closest detected object.
bounce Direction to the closest detected camera position.
tex_color Color of the closest detected static light

note target...

also note again from the manual...

SCAN_POS Scans for camera positions placed in the level.

Now this will only return the closest camera position. But it is better than nothing.


Our new web site:Westmarch Studios
Re: No method to get a reference to a position placed in WED [Re: Gordon] #400560
05/03/12 15:41
05/03/12 15:41
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
For entering positions in WED, use a path. Camera positions are kept for compatibility with old versions only.


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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