Page MenuHomeFeedback Tracker

No throwable item selected when changing unit with selectPlayer
Closed, ResolvedPublic

Description

When switching a player with selectPlayer the new unit doesn't have a throwable item selected.
This could cause some problems when respawning players with custom scripts.

Details

Legacy ID
4045847359
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

In the editor:

  1. Place a player unit
  2. Place a second unit and call it "a"
  3. Start the preview
  4. Open the Debug Console and enter "changePlayer a"
  5. The throwable item indicator is empty and you can't throw anything till you cycle to the next item

Event Timeline

trnapster edited Additional Information. (Show Details)
trnapster set Category to Scripting.
trnapster set Reproducibility to Always.
trnapster set Severity to None.
trnapster set Resolution to Fixed.
trnapster set Legacy ID to 4045847359.May 7 2016, 7:07 PM

Hey,
thank you for the report. We are aware of the problem and are working on a fix.

This seems to be resolved