Difference between revisions of "ScriptCore3.menu2obj"

From Soldat Community Wiki
Jump to: navigation, search
Line 1: Line 1:
 
  '''function menu2obj(Style: Byte): Byte'''
 
  '''function menu2obj(Style: Byte): Byte'''
   Style: [[Weapons List]]
+
   Style: Position(Style/ID) of the weapon in the [[Weapons List]]
   Result: conversion result
+
   Result: Position(Style/ID) of the weapon in the [[TMapObject.Style]]
  
 
==Description==
 
==Description==

Revision as of 16:49, 1 May 2018

function menu2obj(Style: Byte): Byte
 Style: Position(Style/ID) of the weapon in the Weapons List
 Result: Position(Style/ID) of the weapon in the TMapObject.Style

Description

This converts a string into a number.