CheckItemType: Difference between revisions
Appearance
Ozdeadmeat (talk | contribs) checkItemType – created via PowerShell script (2025-11-11T21:11:51Z) Tag: Recreated |
Ozdeadmeat (talk | contribs) m checkItemType – created via PowerShell script (2026-02-11T01:15:41Z) |
||
| Line 1: | Line 1: | ||
{{Template:FunctionInfo|fName= checkItemType|fDescription= |parentFile= cmm.AirBaseFunctions.lua|syntax= |return= |returnDesc= |example= |exampleDesc= |related= |note= |envType= CMM|par1= string ItemType|reqType1= string|reqName1= ItemType|desc1= ItemType Name | {{Template:FunctionInfo|fName= checkItemType|fDescription= This function will set an item type of a specified quantity to an Airbase Warehouse|parentFile= cmm.AirBaseFunctions.lua|syntax= CMM.checkItemType(<string>)|return= boolean|returnDesc= Returns true if item type is valid, false if not|example= CMM.checkItemType("weapons.missiles.AGM_114K")|exampleDesc= |related= |note= |envType= CMM|par1= string ItemType|reqType1= string|reqName1= ItemType|desc1= ItemType Name string to check}} | ||
Latest revision as of 14:15, 10 February 2026
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | checkItemType | |
| Function Description: | This function will set an item type of a specified quantity to an Airbase Warehouse | |
| File Location: | cmm.AirBaseFunctions.lua | |
| Syntax: | CMM.checkItemType( string ItemType ) | |
| Return Value: | boolean | |
| Parameters: | Name | Description |
| ItemType | ItemType Name string to check | |
| Example: | CMM.checkItemType("weapons.missiles.AGM_114K") | |
| Example Description: | ||
| Related Functions: | ||
| Notes: | ||