Page MenuHomeFeedback Tracker

Using "Execute Code Module" locks stance to standing and locks facing on stationary imported units
New, NormalPublic

Description

Exported SQF's don't specify stance when exported. When those units are imported their stance is locked to standing. You can manually change their stance to kneeling or prone if you use the remote controls but once you release control they will immediately revert to standing and the facing they had when they were imported.

Additionally, setting the Stance on the individual infantryman or on the group (by double clicking on the unit or the group) will display that you have changed their stance to prone/kneeling but the unit will remain standing.

Their facing is locked in the direction that they were exported in. You can SHIFT+Left Click the unit to change their facing in Zeus or Remote Control the unit but as soon as you release the mouse button or UAV controls they will spin back immediately to the direction they were facing.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
Windows 10 Home, OS Build 14393.479
Category
Zeus - Missions
Steps To Reproduce

Put down a static infantrymen or a group in Zeus
Click "Copy Mission SQF" and place it down near them
Copy the generated SQF
Delete the unit
Click "Execute Code Module" and place it down
Paste in the generated SQF that you copied
Attempt to change stance or facing on the unit

Additional Information

Here's a simple unit that was prone when the SQF was generated:
_newGroup = createGroup east; _newUnit = _newGroup createUnit ['rhsgref_ins_crew', [14886.7,17427.8,0.00156784], [], 0, 'CAN_COLLIDE']; _newUnit setSkill 1; _newUnit setRank 'PRIVATE'; _newUnit setFormDir 0; _newUnit setDir 0; _newUnit setPosWorld [14886.7,17427.8,17.7188];_newGroup setFormation 'WEDGE'; _newGroup setCombatMode 'YELLOW'; _newGroup setBehaviour 'AWARE'; _newGroup setSpeedMode 'NORMAL';

Event Timeline

SSG_Burke_506thIR renamed this task from Using "Execute Code Module" locks stance to standing and locks facing on imported units to Using "Execute Code Module" locks stance to standing and locks facing on stationary imported units.Dec 12 2016, 7:51 PM
SSG_Burke_506thIR edited Steps To Reproduce. (Show Details)

This is only occurring if the Execute Code Module was selected to "Server" and is likely a Headless Client issue.

Disregard the HC comment, it's any server.