Difference between revisions of "SetObjectiveDisplayed"
Jump to navigation
Jump to search
imported>Scornett-Bot m (Script running global find and replace: = for '''=) |
imported>Tox2ik (targets not refreshing on subsequent calls) |
||
Line 19: | Line 19: | ||
*Always remember that SetObjectiveDisplayed only accepts indices that are defined in the quest's "Quest Objectives" tab. When you try to display a quest objective that isn't defined, nothing will happen. | *Always remember that SetObjectiveDisplayed only accepts indices that are defined in the quest's "Quest Objectives" tab. When you try to display a quest objective that isn't defined, nothing will happen. | ||
* Targets under Quest Objective Data must be filled at the time of calling setObjectiveDisplayed() or they will remain empty on subsequent calls to the function (they are not "refreshed" by this function even if filled by papurys between calls). | |||
==See Also== | ==See Also== |
Revision as of 14:02, 27 January 2013
Description
SetObjectiveDisplayed turns a quest objective on or off.
Syntax
SetObjectiveDisplayed QuestName, Index, DisplayFlag (0/1)
Examples
SetObjectiveDisplayed MyQuest 10 1
Turns on objective 10.
Notes
- If this is the first objective of the quest to be displayed, the player will receive a "Quest Added" message on screen.
- If the quest is not currently running, SetObjectiveDisplayed ... 1 will automatically start it.
- Always remember that SetObjectiveDisplayed only accepts indices that are defined in the quest's "Quest Objectives" tab. When you try to display a quest objective that isn't defined, nothing will happen.
- Targets under Quest Objective Data must be filled at the time of calling setObjectiveDisplayed() or they will remain empty on subsequent calls to the function (they are not "refreshed" by this function even if filled by papurys between calls).
See Also
Reference
None provided.