Page MenuHomeFeedback Tracker

assignTeam in init fields does not work in MP game
New, WishlistPublic

Description

assignTeam doesn't apply when put in units init fields in an MP gamemode.

Details

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

Pop down unit in the editor, put in init field

this assignTeam "BLUE";

Preview
hint str (assignedTeam player) // -> "BLUE"

Save and export to MP, run mission again
hint str (assignedTeam player) // -> "MAIN"

Event Timeline

cuel edited Steps To Reproduce. (Show Details)Nov 19 2014, 6:09 PM
cuel edited Additional Information. (Show Details)
cuel set Category to Scripting.
cuel set Reproducibility to Always.
cuel set Severity to None.
cuel set Resolution to Open.
cuel set Legacy ID to 3333910263.May 7 2016, 7:51 PM