Author Topic: begin at starting location after 1st intial login?  (Read 314 times)

Legacy_Wawmong

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +0/-0
begin at starting location after 1st intial login?
« on: June 20, 2014, 05:53:10 pm »


               

hello



I've been working on a small pw for a while now... i can edit scripts and create simple scripts but beyond this i'm lost. I'm hoping someone could help me create a script that can jump a player entering the server to the starting area without fail every time. Curious why the start location doesn't work after the first initial login.



this is what i have now and it works but it's a pain.



void main()

{

object oPC = GetEnteringObject();

SetCommandable(FALSE, oPC);

DelayCommand(15.0, AssignCommand(oPC, JumpToObject(GetWaypointByTag("WP_Start1"))));

DelayCommand(15.0, SetCommandable(TRUE, oPC));

}



               
               

               
            

Legacy_Wawmong

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +0/-0
begin at starting location after 1st intial login?
« Reply #1 on: June 21, 2014, 10:34:26 pm »


               

uh nevermind, feel like a dumbarse now but i got it. thought the script wouldn't fire until the area loaded.