0
$\begingroup$

I need to get current playing action name in python. something like .getActionFrame() but with Name instead of Frame Does it exists? If not, can someone tell me how to get current played action name?

if Arma.getActionFrame(3) >= 20 and Arma.getActionFrame(3) <= 28 and Arma.getActionName(3) == "Action1"

$\endgroup$
1
$\begingroup$

As you wished, you got it. You can use it exactly as you wrote it:

print(Arma.getActionName(3))
/// Action1

Here is the API.

Here is the commit (in August 2015 by Mateo de Mayo (@mateosss)).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.