Aller au contenu

Photo

begin at starting location after 1st intial login?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Wawmong

Wawmong
  • Members
  • 50 messages

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));
}



#2
Wawmong

Wawmong
  • Members
  • 50 messages

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