Difference between revisions of "ScriptCore3.menu2obj"
(→Description) |
(→Description) |
||
Line 4: | Line 4: | ||
==Description== | ==Description== | ||
− | Translates the position of the weapon in the Weapon Menu([[Weapons List]]) to the corresponding position | + | Translates the position of the weapon in the Weapon Menu([[Weapons List]]) to the corresponding position of Style property of Map Object - lying weapon([[TMapObject.Style]]) |
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 16:24, 1 May 2018
function menu2obj(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 Style property of Map Object - lying weapon(TMapObject.Style)