29 lines
478 B
Plaintext
29 lines
478 B
Plaintext
#include "nw_i0_tool"
|
|
void main()
|
|
{
|
|
|
|
object oModule = GetModule();
|
|
object oClicker = GetClickingObject();
|
|
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
|
location lLoc = GetLocation(GetObjectByTag("DaosDoor1"));
|
|
location lLoc2 = GetLocation(GetObjectByTag("DaosDoor2"));
|
|
|
|
|
|
if (HasItem(oClicker, "gl8"))
|
|
{
|
|
AssignCommand(oClicker,JumpToLocation(lLoc));
|
|
}
|
|
else
|
|
{
|
|
AssignCommand(oClicker,JumpToLocation(lLoc2));
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|