Page MenuHomeFeedback Tracker

Action "UseMagazine" not working
New, WishlistPublic

Description

I'm trying to use the UseMagazine action with the action command and I cannot get it working. I'm using the documentation on the BIKI but nothing. My character does the bend down animation but that's about it. I'm trying to place an explosive programatically. I also tried it with a weapon and magazine but it still didn't work and again just did the bend down animation. Please see the attached image to see the code I am using. {F27783}

Details

Legacy ID
3820510702
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting

Event Timeline

Mikeeeyy set Category to Scripting.Jan 13 2016, 2:42 AM
Mikeeeyy set Reproducibility to Always.
Mikeeeyy set Severity to None.
Mikeeeyy set Resolution to Open.
Mikeeeyy set Legacy ID to 3820510702.May 8 2016, 1:28 PM
Bohemia added a subscriber: dubas.Jan 13 2016, 2:42 AM

I got it working with the fire and selectWeapon command, although I'm not completely satisfied. It's not the proper way to do it, it doesn't have an animation. Yes I know I can just playAction "PutDown" but I'd prefer to use the action command. I monitored the action by setting the inGameUISetEventHandler to report back to me. When placing an explosive using command menu it outputs "UseMagazines", see below.

[R Alpha 1-3:1 (Mike),R Alpha 1-3:1 (Mike),1,"UseMagazine","Put APERS Tripwire Mine (1 left)",2.9999,false,true,"",true,"Action"]

Surely if the engine uses this action I can too?

The id handling has changed as you can see from the ids themselves, they are all over 1000000 and it is quite possible that UseMagazine is still relying on old ids. Since new ids are WIP I could not tell you when this will be addressed.

Is there anyway we can get the old ids in the meantime?