Difference between revisions of "SetMapPatchState"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) m (looks okay, removing tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=SetMapPatchState | |name=SetMapPatchState |
Revision as of 18:41, 19 February 2010
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.