setText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the text associated with a location. This text will be displayed on the game map at the location's position. |= Description
| Sets the text associated with a location. This text will be displayed on the game map at the location's position. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| location '''setText''' text |= Syntax
| location '''setText''' text |SYNTAX=


|p1= location: [[Location]] |= Parameter 1
|p1= location: [[Location]] |PARAMETER1=
|p2= text: [[String]] |= Parameter 2
|p2= text: [[String]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>myLocation setText "Rahmadi Village"</pre> |= Example 1
|x1= <pre>myLocation setText "Rahmadi Village"</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[text]], [[createLocation]] |= See also
| [[text]], [[createLocation]] |SEEALSO=


}}
}}

Revision as of 14:48, 7 April 2019

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Sets the text associated with a location. This text will be displayed on the game map at the location's position.
Groups:
Uncategorised

Syntax

Syntax:
location setText text
Parameters:
location: Location
text: String
Return Value:
Nothing

Examples

Example 1:
myLocation setText "Rahmadi Village"

Additional Information

See also:
textcreateLocation

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