generated from Jaysyn/ModuleTemplate
23 lines
474 B
Plaintext
23 lines
474 B
Plaintext
// Travel Builder
|
|
|
|
// Example of an area OnEnter script
|
|
|
|
// If there are multiple nodes for the same network in the area, this should
|
|
// be used as a trigger OnEnter script instead. The trigger tag should be
|
|
// TR_xxxx, where xxxx is the tag of the waypoint node the PC has arrived at.
|
|
|
|
// Author : Proleric
|
|
|
|
// Modified : 18-Mar-2007
|
|
|
|
#include "bh_travel_inc"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
bhtSetTravelPosition(oPC);
|
|
}
|