You are viewing an old version of this page. Return to the latest version.
Version of 15:23, 12 September 2013 by I need to Update My Profile
Difference between revisions of "LUA:UpdateQuestZone"
(Created page with "= LUA Functions: UpdateQuestZone() = Updates the zone for the given quest ==== Syntax ==== UpdateQuestZone(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Quest...") |
|||
| Line 1: | Line 1: | ||
| − | = | + | {{LUAFunction |
| − | Updates the zone for the given quest | + | |Name = UpdateQuestZone |
| − | + | |Description = Updates the zone for the given quest | |
| − | + | |Param1 = Quest | |
| − | = | + | |Param1Desc = is the quest you wish to update |
| − | + | |Param2 = "zone name" | |
| − | + | |Param2Desc = is the zone name to set the quest to | |
| − | + | |Example = | |
| − | = | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<pre> | <pre> | ||
function init(Quest) | function init(Quest) | ||
| Line 19: | Line 12: | ||
end | end | ||
</pre> | </pre> | ||
| − | + | |ExampleDesc = This will update the quest zone to "New Zone" | |
| − | This will update the quest zone to "New Zone" | + | }} |
Latest revision as of 13:00, 8 February 2022
LUA:AllFunctions - UpdateQuestZone
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Updates the zone for the given quest
Syntax
UpdateQuestZone(param1, param2)
Parameters
- Required - param1 (Quest), param2 ("zone name")
- param1 is the quest you wish to update
- param2 is the zone name to set the quest to
Example
function init(Quest)
UpdateQuestZone(Quest, "New Zone")
end
This will update the quest zone to "New Zone"