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 Answer 1

2
$\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$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .