
Posts
517
Respect
161Add +1
Forum Rank
Zombie Enslaver
Primary Group
Scripter
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Any specific area were the trigger multiple should be?
By the way the door will only be used once, first a trigger use that opens the door, then when the players are inside the room, the door will close then the script has done its work, nothing else.
does'nt matter the doors will be at a place were the zombies can't get to anyway.
players = GetPlayers();
all_players_in = false;
players_in = 0;
while(!all_players_in)
{
for(i = 0;i<players.size;i++)
{
if(players[i] isTouching(triggerEntity)
{
players_in++;
}
}
if(players_in == players.size)
{
all_players_in = true;
}
wait(1);
}close_trigger1 = getent ("close_trigger1", "targetname");
close_trigger1 waittill ("trigger");
players = GetPlayers();
all_players_in = false;
players_in = 0;
while(!all_players_in)
{
for(i = 0;i<players.size;i++)
{
if(players[i] isTouching(triggerEntity)
{
players_in++;
}
}
if(players_in == players.size)
{
all_players_in = true;
}
wait(1);
}
eleclip show();
left_eledoor movex(65,3); //
egetrigger = getent ("egetrigger", "targetname");
egetrigger waittill ("trigger");It gave me bad syntax, here is a part of the script, there is much more than just these lines.
close_trigger1 = getent ("close_trigger1", "targetname");
close_trigger1 waittill ("trigger");
players = GetPlayers();
all_players_in = false;
players_in = 0;
while(!all_players_in)
{
for(i = 0;i<players.size;i++)
{
if(players isTouching(triggerEntity)
{
players_in++;
}
}
if(players_in == players.size)
{
all_players_in = true;
}
wait(1);
}
eleclip show();
left_eledoor movex(65,3); //
egetrigger = getent ("egetrigger", "targetname");
egetrigger waittill ("trigger");
Post Merge: December 07, 2013, 08:17:50 pm
Darn it, forgot to make a script window, I always forget that sorry, I promise to do it from now on.


I am so absoultely sorry Sajeone, but I actually try to do it but when I do it, it does'nt work, no code tag pops up when I want to do it, I actually click insert code and when I want to make smileys it does'nt work nothing comes up on my post, I did click insert code on this post too but instead it appeared to be like this as it is on this post right now, I can't help.
I honestly have a lots of question that I want to ask everyone and learn here but I try to make as few posts as possible because the posts options does'nt work for me. If it worked I would have more posts than this.
I am so sorry Sajeone.
Well this is embarrasing, sorry.
[code] /*MY CODE*/