2021-12-05 17:54:36 +00:00
|
|
|
#include "NtHaelServer.h"
|
2022-07-05 06:00:10 +00:00
|
|
|
#include "Entity.h"
|
2023-05-02 22:39:21 +00:00
|
|
|
#include "ePlayerFlag.h"
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
void NtHaelServer::SetVariables(Entity* self) {
|
|
|
|
self->SetVar<float_t>(m_SpyProximityVariable, 25.0f);
|
|
|
|
|
|
|
|
self->SetVar<SpyData>(m_SpyDataVariable, {
|
2023-05-02 22:39:21 +00:00
|
|
|
ePlayerFlag::NT_FACTION_SPY_HAEL, 13892, 1321
|
2021-12-05 17:54:36 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
self->SetVar<std::vector<SpyDialogue>>(m_SpyDialogueTableVariable, {
|
|
|
|
{ "HAEL_NT_CONVO_1", 0 },
|
|
|
|
{ "HAEL_NT_CONVO_2", 0 },
|
|
|
|
{ "HAEL_NT_CONVO_3", 0 },
|
|
|
|
{ "HAEL_NT_CONVO_4", 0 },
|
|
|
|
});
|
|
|
|
|
|
|
|
// If there's an alternating conversation, indices should be provided using the conversationID variables
|
|
|
|
self->SetVar<std::vector<LWOOBJID>>(m_SpyCinematicObjectsVariable, { self->GetObjectID() });
|
|
|
|
}
|