hey guys, been stuck on this for hours now, tried tons of variations, nada...
{
systemChat format["X = %1",getPos _x]; // only returns number 1, not an array of worldspace.
systemChat format["X=%1,Y=%2,Z=%3 = ",getPos _x select 0,getPos _x select 1,getPos _x select 2]; // returns Y,Z properly, but X is always 1
}forEach array1;
An array is filled up with objects that are collected from nearObjects, so basically I can do everything to tested items, like detach them, delete them or change colors, but I can not get proper X position in worldspace. It only returns proper Y and Z axis, but X is always 1 no matter what I do.
Question
raymix
hey guys, been stuck on this for hours now, tried tons of variations, nada...
An array is filled up with objects that are collected from nearObjects, so basically I can do everything to tested items, like detach them, delete them or change colors, but I can not get proper X position in worldspace. It only returns proper Y and Z axis, but X is always 1 no matter what I do.
Is this intended or a bug?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now