30 lines
546 B
Plaintext
30 lines
546 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
object oModule = GetModule();
|
||
|
object oClicker = GetClickingObject();
|
||
|
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
||
|
location lLoc = GetLocation(GetObjectByTag("InchyreBH1"));
|
||
|
location lLoc2 = GetLocation(GetObjectByTag("InchyreBH2"));
|
||
|
|
||
|
|
||
|
if((GetLocalInt(GetModule(), "InDoorCont") == 1))
|
||
|
{
|
||
|
AssignCommand(oClicker,JumpToLocation(lLoc2));
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
AssignCommand(oClicker,JumpToLocation(lLoc));
|
||
|
SendMessageToPC (oClicker, "You are unable to pass an invisible force");
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|