Grenade throw type selection
The logic for selecting the grenade throw type is stored in \properties\animation_selector\
human_grenade_throw_type.inc
The grenade throw type is determined before the throw via the grenade_throw_type
request and does not change until the next throw.
The selection logic uses the following checks:
cover_type
— the type of cover from which the throw is madethrowing_range
— throwing distanceitem_in_hand
— check of the item held by the unit
Available grenade throw types in Men of War II (custom types can be added)
forward
— overarm throw, vertical arm movementside
— sidearm throw, horizontal arm movementforce
— forceful throwmega
— maximum force throw
The grenade throw type is not the same as selecting the grenade throw animations.
The throw type can be checked in Animation Selector files using the human_throw_type
parameter in an if
block.
Last updated