Posted By: PadMalcom
No method to get a reference to a position placed in WED - 05/01/12 18:11
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.
Posted By: Gordon
Re: No method to get a reference to a position placed in WED - 05/01/12 22:40
I don't think there is one but it would be nice to have...
Posted By: Gordon
Re: No method to get a reference to a position placed in WED - 05/01/12 22:57
I take that back... c_scan will locate them...
Posted By: PadMalcom
Re: No method to get a reference to a position placed in WED - 05/02/12 06:21
But what does c_scan return if not a reference to an entity? ent_for_name should work as well then.
Posted By: Gordon
Re: No method to get a reference to a position placed in WED - 05/02/12 12:09
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.
Posted By: jcl
Re: No method to get a reference to a position placed in WED - 05/03/12 15:41
For entering positions in WED, use a path. Camera positions are kept for compatibility with old versions only.