Page MenuHomeFeedback Tracker

putWeaponPool ignores items (can be deleted - bug is not existent, sorry)
Closed, ResolvedPublic

Description

EDIT: The command works fine - check my comment below.

Since the query-pool commands are broken (I'll create a report soon, as soon as I find some time), I have to use putWeaponPool as a workaround in my campaign.

However this old command, being there since OFP, seems to ignore the Arma 3 items.

Details

Legacy ID
1789451426
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

In the editor, add a crate (I used NATO basic weapon crate) and name it crate.
Then add some weapons, magazines and ITEMS (I tried it with scopes) into the WP, using the addWeaponPool, addMagazinePool and addItemPool commands.

I tested it in a campaign environment (which is the overall goal) but the bug reproduction should work in a single mission too.
After having filled the WP, use the putWeaponPool command on the crate.

If the bug is there, only the weapons and magazines will be transferred to the crate. But NOT the items.

Event Timeline

Undeceived edited Additional Information. (Show Details)
Undeceived set Category to Scripting.
Undeceived set Reproducibility to Always.
Undeceived set Severity to None.
Undeceived set Resolution to No Bug.
Undeceived set Legacy ID to 1789451426.May 7 2016, 7:22 PM
Undeceived added a subscriber: Undeceived.

I'm sorry, guys... :( I noticed that I had a trigger on the mission area which removes all items from cargos...

The putWeaponPool command seems to work just fine.

SORRY!

closed at request