Page MenuHomeFeedback Tracker

"assignedTeam player" returns nothing
New, WishlistPublic

Description

The assignedTeam scripting command is bugged and might return nothing for a unit under certain circumstances. {F26788}

Details

Legacy ID
3226985763
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  • start a mission with the game master module synched to the player
  • put "assignedTeam player" (without "") into the debug console

-> it returns "MAIN" (or any other team there might be)

  • then create a friendly unit and take control over it

-> "assignedTeam player" returns nothing even though the player is still there

Additional Information

I'm not trying to read the team of the remote controled unit (which does work with "assignedTeam cameraOn"), but of the game master.
After canceling the remote controlling, the command works again.

Event Timeline

commy2 edited Steps To Reproduce. (Show Details)Aug 12 2015, 11:00 AM
commy2 edited Additional Information. (Show Details)
commy2 set Category to Scripting.
commy2 set Reproducibility to Always.
commy2 set Severity to None.
commy2 set Resolution to Open.
commy2 set Legacy ID to 3226985763.May 8 2016, 12:30 PM
zx64 added a subscriber: zx64.May 8 2016, 12:30 PM
zx64 added a comment.Aug 19 2015, 7:05 PM

For completeness, this also affects controlling UAVs.

zx64 added a comment.Aug 19 2015, 7:16 PM

Steps to repro with attached mission:

  • Begin mission
  • Observe hint showing "Assigned team is: MAIN"
  • Take control of the UAV
  • Observe hint changes to "Assigned team is: <null>"
  • Release control of UAV
  • Observe hint reverts to "Assigned team is: MAIN"

Expected results:

  • hint message doesn't change when taking/releasing control of the UAV.