#include "log_h"
#include "utility_h"
#include "wrappers_h"
#include "plot_h"
#include "plt_wh_fest_fur_quest"
int StartingConditional()
{
event eParms = GetCurrentEvent();
int nType = GetEventType(eParms);
string strPlot = GetEventString(eParms, 0);
int nFlag = GetEventInteger(eParms, 1);
object oParty = GetEventCreator(eParms);
object oConversationOwner = GetEventObject(eParms, 0);
int nResult = FALSE;
object oPC = GetHero();
plot_GlobalPlotHandler(eParms);
if(nType == EVENT_TYPE_SET_PLOT)
{
int nValue = GetEventInteger(eParms, 2);
int nOldValue = GetEventInteger(eParms, 3);
switch(nFlag)
{
case MUST_LOOT_CHEST:
(
object oChest = GetObjectByTag("wh_fest_fur_chest_active");
SetObjectInteractive(oChest, TRUE);
break;
)
case SPOKE_TO_DAEGHUN:
(
object oDoor = GetObjectByTag("wh_fh_1_door_outside");
SetObjectInteractive(oDoor, TRUE);
break;
)
)
)
plot_OutputDefinedFlag(eParms, nResult);
return nResult;
}
Modifié par wyvern14, 12 décembre 2009 - 02:21 .





Retour en haut






