SQuests
Index
Functions Index
| Function Name |
|---|
| void StartQuest (int id) |
| int GetQuestStep (int questID) |
| void ResetQuest (int id) |
| void SetQuestStep (int questID, int step) |
| void CompleteQuest (int questID) |
| void AbortQuest (int id) |
| void AwardAchievement (int id) |
| bool HasAchievement (int id) |
Functions
StartQuest
void StartQuest (int id)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
Space.Quests.StartQuest(1001211)
GetQuestStep
int GetQuestStep (int questID)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
currentStep = Space.Quests.GetQuestStep(1001211)
ResetQuest
void ResetQuest (int id)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
Space.Quests.ResetQuest(1001211)
SetQuestStep
void SetQuestStep (int questID, int step)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
Space.Quests.SetQuestStep(1001211, 5)
CompleteQuest
void CompleteQuest (int questID)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
Space.Quests.CompleteQuest(1001211)
AbortQuest
void AbortQuest (int id)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
Space.Quests.AbortQuest(1001211)
AwardAchievement
void AwardAchievement (int id)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
Space.Quests.AwardAchievement(1001211)
HasAchievement
bool HasAchievement (int id)
Function Description
| Parameter | Type | Description |
|---|---|---|
- Lua
hasAchievement = Space.Quests.AwardAchievement(1001211)