#include "header_sounds" void main() { object oPC=GetEnteringObject(); if (GetLocalInt(oPC,"nIsVampire")==TRUE) { // vampire SetLocalInt(oPC,"nSunSafe",TRUE); SendMessageToPC(oPC,"You feel safe from the sun here."); AssignCommand(oPC,fnSoundAlert()); } // vampire }