πQuest Events

You can invoke sounds by calling CRDTN_PluginBase.CRDTN_PlaySound("SOUNDSET", GetGame().GetPlayer());
EXAMPLE OF THE TELEPORTATION TRIGGER
Last updated

Last updated
```c
modded class QuestEventHandlerServer
{
override void OnQuestEvent(PlayerBase questCompleteActor, Quest questDefinition, string eventKey, ref Param params = NULL, ref PlayerIdentity identity = NULL, ref Object target = NULL, bool sendToClient = true)
{
if (questCompleteActor == NULL || eventKey == "")
{
return;
}
// Event triggered by the explore trigger in the quest
// THIS EVENT KEY NEEDS TO BE IN THE QUEST DEFINITION
if (eventKey == "test_quest_complete")
{
questCompleteActor.SetPosition("9817.386719 250.825714 11459.413086");
}
super.OnQuestEvent(questCompleteActor, questDefinition, eventKey, params, identity, target, sendToClient);
};
};
```