14 lines
266 B
Plaintext
14 lines
266 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
object oClicker = GetClickingObject();
|
||
|
object oTarget = GetTransitionTarget(OBJECT_SELF);
|
||
|
|
||
|
SetAreaTransitionBMP(AREA_TRANSITION_RANDOM);
|
||
|
|
||
|
AssignCommand(oClicker,JumpToObject(oTarget));
|
||
|
ActionCloseDoor(oTarget);
|
||
|
SetLocked(oTarget,TRUE);
|
||
|
|
||
|
}
|