When using GetMarkerPos, the position returned is always few hundred meters from the real marker position.
Description
Description
Details
Details
- Legacy ID
- 3163755310
- Severity
- Major
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- Create a marker named "boatPos", but leave all default value.
- Put a BLUEFOR riffleman on a shore somewhere.
- Put a trigger in front of him, activated by BLUEFOR presence.
- In the trigger, in the "On Act" field, enter b = "B_Assaultboat" createvehicle getmarkerpos "boatPos";
- Start the preview and walk in the trigger.
Notice that the boat was created, but few hundred meters from the location of the marker.