Scripting a waypoint using the setWaypointType command with the "HOOK" waypoint type on moving target (player or ai driven) results in a crash to desktop.
Description
Description
Details
Details
- Legacy ID
- 697666613
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- Name a Hunter "car".
- Name a Huron "heli".
- Place the following into your debug console and press local execute:
Code:
- spawn {
_wpxx = (group heli) addWaypoint [getpos car , 0];
[(group heli), 0] setWaypointCombatMode "red";
_wpxx setWaypointType "HOOK";
_wpxx setWaypointSpeed "FULL";
_wpxx setWaypointBehaviour "SAFE";
_wpxx setWaypointFormation "LINE";
};
- Drive the car a few meters from its position when you pressed execute.
Same result if: code is run from .sqf instead of inside a spawn command.
Additional Information
Crash to Desktop, Confirmed by other users: http://forums.bistudio.com/showthread.php?183042-Sling-Loading-Feedback/page29
Event Timeline
Comment Actions
Hello, this should already be fixed on Steam Dev version. Could you please confirm? I was not able to reproduce it.
Comment Actions
Confirmed no crash on execute after vehicle moved. Tested AI and player driven vehicle in Dev Branch