Page MenuHomeFeedback Tracker

_AnyName setWaypointType "HOOK"; results in crash when target cargo is moveing
Closed, ResolvedPublic

Description

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.

Details

Legacy ID
697666613
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Name a Hunter "car".
  2. Name a Huron "heli".
  3. 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";
};

  1. 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

Event Timeline

big_wilk edited Additional Information. (Show Details)
big_wilk set Category to Scripting.
big_wilk set Reproducibility to Always.
big_wilk set Severity to None.
big_wilk set Resolution to Fixed.
big_wilk set Legacy ID to 697666613.May 7 2016, 7:53 PM

Confirmed - uplodaded rpt, and dmp files in zip

Hello, this should already be fixed on Steam Dev version. Could you please confirm? I was not able to reproduce it.

Confirmed no crash on execute after vehicle moved. Tested AI and player driven vehicle in Dev Branch