Quantcast
Channel: LucasForums - Holowan Laboratories
Viewing all articles
Browse latest Browse all 507

On enter scripts and booleans

$
0
0
Code:

void main ()
{
  SendMessageToPC(OBJECT_SELF,"I Fired");

  if (GetGlobalBoolean("EXQ_EV1") == TRUE) {
        SendMessageToPC(OBJECT_SELF,"I Fired2");


    }
  else
    {
        SendMessageToPC(OBJECT_SELF,"I Fired3");

    }


        SendMessageToPC(OBJECT_SELF,"I Fired4");
}

Why do none of those feedback messages arrive but if i put code in to remove an npc in the conditional it removes them? Also it seems to always remove them when the condition should be false by default.

Viewing all articles
Browse latest Browse all 507

Trending Articles