ScriptCore3.obj2weap

From Soldat Community Wiki
Revision as of 16:41, 1 May 2018 by Morko (talk | contribs) (Description)
Jump to: navigation, search
function obj2weap(Style: Byte): Byte
 Style: Position(Style) of the weapon in the TMapObject.Style
 Result: Position(Style) of the weapon in the TWeapon.WType

Description

Translates the position of the weapon in the Style property of a Map Object(TMapObject.Style) to the corresponding position of the WType property of a Weapon Object(TWeapon.WType).