barbolani 198 Posted November 18, 2013 Hello, I have an issue while trying to create waypoints via script. For the position I place a simple gamelogic, in some building position, at certain height (roof), and when I create the waypoint via script, the position is related to the GL. Well, ingame the waypoint appears on the floor. I tried to use setWaypointHousePosition but seems to ignore this. I'm sure I am missing something. Help? Thanks in advance. Share this post Link to post Share on other sites
f2k sel 164 Posted November 18, 2013 I tested in A2/OA and this works, without the last line it also didn't work. build = nearestObject [gl, "House"]; wp0 = group grp addWaypoint [ getPos build, 3]; wp0 setWaypointType "move"; wp0 setWaypointHousePosition 4; wp0 waypointAttachObject build; Share this post Link to post Share on other sites
barbolani 198 Posted November 18, 2013 Thanks! I'll give a try! Share this post Link to post Share on other sites