generated from Jaysyn/ModuleTemplate
12 lines
367 B
Plaintext
12 lines
367 B
Plaintext
void main()
|
|
{
|
|
object oTarget = GetPCSpeaker();
|
|
object oShaft = GetObjectByTag("sf_light", 0);
|
|
location oEnter = GetLocation(oShaft);
|
|
vector oPos = GetPosition(oShaft);
|
|
float oFace = GetFacing(oShaft);
|
|
object oPlace = GetAreaFromLocation(oEnter);
|
|
location oHole = Location(oPlace, oPos, oFace);
|
|
AssignCommand(oTarget, DelayCommand(1.0,ActionJumpToLocation(oHole)));
|
|
}
|