Page MenuHomeFeedback Tracker

Commands for getting vests and uniform does not work as expected
Closed, ResolvedPublic


myBackpack = unitBackpack player, returns the units backpack. Hence you can add stuff to the backpack like this: (unitBackpack player) addMagazineCargo ["the mag!",1];

But! Both Uniforms and Vests are containers, but there is no command to return the units backpack.

vest player;
uniform player;
Both return the classname, not the actual object.

Two new commands would be great!
unitVest and unitUniform, so that we can control where gear is put on the soldier. Currently the uniform is filled first, then the vest, and last the backpack.


Legacy ID

Event Timeline

Pellejones edited Additional Information. (Show Details)
Pellejones set Category to Editor.
Pellejones set Reproducibility to Always.
Pellejones set Severity to Feature.
Pellejones set Resolution to Duplicate.
Pellejones set Legacy ID to 3781634567.May 7 2016, 11:42 AM

As a workaround, you can strip your character, then add the containers in reverse order as you add items to them.

Hanz added a subscriber: Hanz.May 7 2016, 11:42 AM
Hanz added a comment.May 22 2013, 3:34 PM

This suggestion was processed by our team and will be looked into. We thank you for your feedback.

This really should be added soon. It's been three months and there are several other tracker requests for this.

It shoudl be in tommorows dev build, see more here. Thank you.