Page MenuHomeFeedback Tracker

setUnitPos command is bugged on unarmed units in 1.20 S T A B L E
Acknowledged, WishlistPublic

Description

The setunitpos-command does not work correctly on a unit which has no weapons.

When the unit is in unitPos "MIDDLE", it won't work to set him in unitPos "UP". He won't stand up.

Additionally, when the unit is in unitPos "DOWN", it won't work to set him in unitPos "MIDDLE". He won't get up to his knees.

Neither does the scripting command setunitPos "UP" work, nor does the unit obey the command coming from a commander.

This has potential to brake many missions (it has broken mine :) :) ).

Details

Legacy ID
2996379794
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Scripting method:

  1. Open the editor
  2. Put a player unit and an AI unit
  3. removeAllWeapons of the AI unit
  4. Type in unit setUnitPos "MIDDLE"; in the debug window

(so far, so good)

  1. Now type unit setUnitPos "UP"; (if the bug is really there, it should not work)

-------------------------

Commanding method:

  1. Open the editor
  2. Put a player unit and an AI unit
  3. Make the AI unit join the player's group
  4. In the mission: Command the subordinate to kneel

(so far, so good)

  1. Command the unit to stand up (if the bug is really there, it should not work)

Event Timeline

Undeceived edited Additional Information. (Show Details)
Undeceived set Category to Scripting.
Undeceived set Reproducibility to Always.
Undeceived set Severity to None.
Undeceived set Resolution to Open.
Undeceived set Legacy ID to 2996379794.May 7 2016, 6:06 PM
Undeceived edited a custom field.

Still present in v. 1.20.
Please fix this, BIS - it was once ok and then introduced in a STABLE patch... :(

Thanks!

oukej added a subscriber: oukej.May 7 2016, 6:06 PM
oukej added a comment.Jul 1 2014, 5:46 PM

Hey, thank you for the feedback.

Afaict (and it's bitter to admit it) the issue has been around since Operation Arrowhead and sadly it may not be up for an easy fix.

For the meantime I'd suggest avoiding use MIDDLE stance on unarmed AI wherever possible. We are sorry for the inconvenience.

Simon added a comment.Jul 2 2014, 10:23 AM

Are you sure "it was once ok" ? Because I'm fairly confident this has never worked in Arma, ever since (at least) Arrowhead.

It absolutely worked, yes! :) I have a cutscene, where an unarmed unit stood up - I still can see it clearly in front of me. And I still remember the pain, when this bug was introduced in 1.12 and he didn't stand up anymore. ;)

The bad thing is that even changing the AI's animation with switchMove doesn't work...

A fix would be much appreciated. Thanks a lot.