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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 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
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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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