Difference between revisions of "ScriptCore3.obj2weap"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''function obj2weap(Style: Byte): Byte''' Style: string that is to be converted into a number Result: conversion result ==Description== This converts a string into a nu...")
 
Line 1: Line 1:
 
  '''function obj2weap(Style: Byte): Byte'''
 
  '''function obj2weap(Style: Byte): Byte'''
   Style: string that is to be converted into a number
+
   Style: Position(Style) of the weapon in the [[TMapObject.Style]]
   Result: conversion result
+
   Result: Position(Style) of the weapon in the [[TWeapon.WType]]
  
 
==Description==
 
==Description==

Revision as of 16:10, 1 May 2018

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

This converts a string into a number.