Page MenuHomePhabricator

assignedTeam returns Nil if player remotecontrol another Unit
New, NormalPublic

Description

assignedTeam player returns Nil if player remotecontrol another Unit

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General
Steps To Reproduce

remotecontrol a drone or unit in Zeus
open Debug console
and enter

hint str isnil {assignedTeam player}

this returns "true" in upper right corner of screen.

Additional Information

please FIX this

Event Timeline

CHIMERACyborg edited Steps To Reproduce. (Show Details)
7erra added a subscriber: 7erra.Oct 2 2018, 11:21 PM

This behaviour is already known:
https://community.bistudio.com/wiki/assignedTeam

This command will return nil if given unit is objNull, remoteControling another unit or is not local