12 lines
317 B
Plaintext
12 lines
317 B
Plaintext
|
//:: Portal bind script
|
||
|
//:: Created by: Helge "DarkFame" Ingvoldstad
|
||
|
//::
|
||
|
//:: Purpose: Binds the player to the location.
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
SetLocalInt(oPC,"Bound",1);
|
||
|
SetLocalLocation(oPC, "Backportal", GetLocation(OBJECT_SELF));
|
||
|
ActionSpeakString("You are now bound to this location.");
|
||
|
}
|