Difference between revisions of "SetMapPatchState"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (looks okay, removing tag) |
m (Changing category) |
||
Line 16: | Line 16: | ||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
− | Map patches with a state of -1 are "invisible" to the client. Any | + | Map patches with a state of -1 are "invisible" to the client. Any other setting 0-N will make the patch appear on the client's map. |
− | other setting 0-N will make the patch appear on the client's map. | + | If the action ID for the state is not -1, the patch is clickable, and the action ID will be sent to server whenever client clicks on the patch. |
− | If the action ID for the state is not -1, the patch is clickable, | + | |
− | and the action ID will be sent to server whenever client clicks | + | |
− | on the patch. | + | |
− | + | ||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
− | |||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
− | |||
== See also == | == See also == | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
[[GetMapPatchState]], [[GetPlayerMapPatch]] | [[GetMapPatchState]], [[GetPlayerMapPatch]] | ||
− | [[Category: | + | [[Category:Broken functions]] |
Latest revision as of 23:44, 5 August 2014
Controls the state of a map patch
- Parameters:
- oMapPatch
- Object ID of patch to control
- nState
- State number to set, -1 = invisible
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Map patches with a state of -1 are "invisible" to the client. Any other setting 0-N will make the patch appear on the client's map. If the action ID for the state is not -1, the patch is clickable, and the action ID will be sent to server whenever client clicks on the patch.