Get played action name
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)).