Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Grant, TipmyPip), 3,248 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 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,101
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,101
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