only 1 player in certain level

jonsilva

New member
hello
Is there a way to only play with a certain player on a level
and prevent player 2 and player 3 to join in that level ?

ive searched some scripts but there seems to be a lot of confusion regarding skipselect issues...

basically what iam trying to do is just

level 1 - play only has yuri, other players cant join
level 2 - play only has robert, other players cant join
level 3 - play only has ryo, other players cant join
level 4 - play only has mrkarate, other players cant join

other levels all players can be selected and p2, p3 can join in the game


 
yeah ive already done this part
spawn  ghosttime
@script
void main()
{
changeopenborvariant("nojoin",1);

void self = getlocalvar("self");
int p2 = getplayerproperty(1, "entity");
int p3 = getplayerproperty(2, "entity");
      changeentityproperty(p2,"noaicontrol",1);
      changeentityproperty(p3,"noaicontrol",1);
}
@end_script
health  20
coords  190 270
at      0

the problem is noaicontrol only disables movement and attack keys theres no way to disable p2 / p3 start button...

and I already got the players weapons full with other stuff...
I have no idea how to do a script to play with a certain player

------//--
or is there a way to prevent the SET from showing in the menu/new game
set  robert
maxplayers      1
skipselect robert

z          230 360 320
file      data/levels/66lvl2.txt
 
it doesn't exactly do that...
once you re ingame if player 2 presses the start button is icon / health / mp bar will show on screen but you wont be able to select him...(to see this the player cant be using a custom HUD)
also if player 1 dies and continues with credits he wont be selectable then the only way to exit game is by pressing crt alt del
 
Back
Top Bottom