Returns the index of the currently-selected action bar page.
index = GetActionBarPage()
- Number - integer index of the current action bar page, ascending from 1.
- The returned value reflects the player-selected action bar, which might not actually be available if overridden by a vehicle, mind control, temporary shapeshift or other similar mechanics.
- This function is available in the RestrictedEnvironment.
- Can be queried using the [bar:index] macro conditional.