Page MenuHomeFeedback Tracker

vestItems return magazineDetail instead of classnames
Closed, ResolvedPublic

Description

In current development branch build the following commands now return magazineDetail instead of classname:

  • vestItems

That means, you can't use the result from the commands except to generate display names of the items.

This is still fine in stable branch!

Details

Legacy ID
583073785
Severity
Block
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  • go to editor
  • place a player unit
  • start and go to debug console
  • check the result for e.g. 'vestItems player'
Additional Information

Currently vestItems/uniformItems/backpackItems is the only way to store the items&magazines in order to safely re-add them to the player, e.g. after respawn.

Event Timeline

Fireball edited Additional Information. (Show Details)
Fireball set Category to Scripting.
Fireball set Reproducibility to Always.
Fireball set Severity to Block.
Fireball set Resolution to Fixed.
Fireball set Legacy ID to 583073785.May 7 2016, 1:20 PM

I can repro it only with vestItems(uniform and backpackItems work fine). In fact, I developed these commands for my own debug purposes only. And because of some MP magazines issues I have to modified vestItems from magazines class name to magazinesDetail information. Anyway I have just changed that behavior back to class name.. so please update your DEV version (will be distributed tomorrow after 2 p.m.)

Thanks! It seems like there need to be commands to assign items directly to vest/uniform respectively, but I think we have already another request for that (#3071).