ScriptCore3.weap2obj

From Soldat Community Wiki
Revision as of 17:45, 1 May 2018 by Morko (talk | contribs) (Description)
Jump to: navigation, search
function weap2obj(Style: Byte): Byte
 Style: Position(Style) of the weapon in the Weapons List
 Result: Position(Style) of the weapon in the TMapObject.Style

Description

Translates the position of the weapon in the Weapon Menu (Weapons List) to the corresponding position of the Style property of a Map Object - lying weapon (TWeapon.WType).