OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: savedbygrace on 22 Jul 2009, 05:19:13
-
After doing some tinkering with these things for a while now, I have noticed that trying to setposition objects at preplaced gamelogics does not work as I initially thought.
Scenario:
I place a gamelogic in the editor in front of my player unit and then another unit somewhere far off grouped to me. I then use a radio trigger to setpos the far off unit to the gamelogic and the unit never appears. I then have the unit report it's status and I see it highlighted thousands of meter away from me and thousands of meters high in the air. Has anyone else ever experienced this? I tend to use invisible helipads now rather than gamelogics but I was curious if anyone knew the theory behind this?
-
I can't reproduce this behaviour. Neither in A1 (1.16b) nor in A2 (1.02). It works with both units and objects. The activation fields of the triggers I used look like this:
dude setPos getPos logic;
-
I can't reproduce this either, works ok for me.
Planck
-
I have also tried copying the coordinates of known objects from the SQM at times to use for camera placement but end up with similar results. I'll try again and see if I can reproduce. Thanks for the feedback.