38 lines
799 B
Plaintext
38 lines
799 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
object oModule = GetModule();
|
||
|
object oClicker = GetClickingObject();
|
||
|
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
||
|
location lLoc = GetLocation(GetObjectByTag("TCap01"));
|
||
|
location lLoc2 = GetLocation(GetObjectByTag("TCap02"));
|
||
|
|
||
|
|
||
|
if((GetLocalInt(GetModule(), "tormentedcaptai1") == 1))
|
||
|
{
|
||
|
if((GetLocalInt(GetModule(), "tormentedcaptai2") == 1))
|
||
|
{
|
||
|
if((GetLocalInt(GetModule(), "tormentedcaptai3") == 1))
|
||
|
{
|
||
|
if((GetLocalInt(GetModule(), "tormentedcaptai4") == 1))
|
||
|
{
|
||
|
if((GetLocalInt(GetModule(), "tormentedcaptai5") == 1))
|
||
|
{
|
||
|
if((GetLocalInt(GetModule(), "tormentedcaptai6") == 1))
|
||
|
{
|
||
|
AssignCommand(oClicker,JumpToLocation(lLoc));
|
||
|
}}}}}}
|
||
|
else
|
||
|
{
|
||
|
AssignCommand(oClicker,JumpToLocation(lLoc2));
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|