cutRsc: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
Resource background - arguments in format '''''["name", "type", speed]''''' or '''''["name", "type"]'''''.<br>
Resource background - arguments in format '''''["name", "type", speed]''''' or '''''["name", "type"]'''''.<br>
If speed is not given, 1 is assumed.<br>
If speed is not given, 1 is assumed.<br>
Resource can be defined in [[description.ext]].
Resource can be defined in [[Description.ext|description.ext]].





Revision as of 14:01, 22 April 2006


back to COMREF

cutRsc effect


Operand types:

effect: Array

Type of returned value:

Nothing

Description:

Resource background - arguments in format ["name", "type", speed] or ["name", "type"].
If speed is not given, 1 is assumed.
Resource can be defined in description.ext.


Example:

cutRsc ["binocular", "PLAIN"]
cutRsc ["binocular", "PLAIN", 10]