titleRsc: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|TITLERSC]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|TITLERSC]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|TITLERSC]]
[[Category:Scripting Commands ArmA|TITLERSC]]


| ofp |= Game name


<h2 style="color:#000066">'''titleRsc ''effect'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Resource title - argument in format ["name", "type", speed] or ["name", "type"] If speed is not given, it is assumed 1. Resource can be defined in [[description.ext]] Also see [[cutRsc]], with these two commands you can show two different resources at once. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''titleRsc''' effect |= Syntax


'''effect:''' [[Array]]
|p1= effect: [[Array]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>titleRsc ["BIS", "PLAIN"]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Resource title - argument in format '''''["name", "type", speed]''''' or '''''["name", "type"]'''''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


If speed is not given, it is assumed 1.
<!-- Note Section END -->
</dl>


Resource can be defined in [[Description.ext|description.ext]]
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|TITLERSC]]
Also see [[cutRsc]], with these two commands you can show two different resources at once.
[[Category:Scripting Commands OFP 1.96|TITLERSC]]
 
[[Category:Scripting Commands OFP 1.46|TITLERSC]]
 
[[Category:Scripting Commands ArmA|TITLERSC]]
'''Example:'''
 
'''titleRsc''' ["BIS", "PLAIN"]

Revision as of 22:55, 1 August 2006

Hover & click on the images for description

Description

Description:
Resource title - argument in format ["name", "type", speed] or ["name", "type"] If speed is not given, it is assumed 1. Resource can be defined in description.ext Also see cutRsc, with these two commands you can show two different resources at once.
Groups:
Uncategorised

Syntax

Syntax:
titleRsc effect
Parameters:
effect: Array
Return Value:
Nothing

Examples

Example 1:
titleRsc ["BIS", "PLAIN"]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section