cutRsc: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CUTRSC]]
[[Category:Scripting Commands|CUTRSC]]
[[Category:Scripting Commands OFP 1.97|CUTRSC]]
[[Category:Scripting Commands OFP 1.96|CUTRSC]]
[[Category:Scripting Commands OFP 1.46|CUTRSC]]
[[Category:Scripting Commands OFP 1.46|CUTRSC]]
[[Category:Scripting Commands ArmA|CUTRSC]]
[[Category:Scripting Commands ArmA|CUTRSC]]

Revision as of 20:10, 1 June 2006


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.

Also see titleRsc, with these two commands you can show two different resources at once.


Example:

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