0 Members and 1 Guest are viewing this topic.
The fraglimit doesn't exactly change? I don't see it ever being 7. Do you mean when a player SCORES 7 frags?
Script 7 DEATH //Called when a player dies{SetActivatorToTarget(0); // Sets the person running the script to the person who killed the playerIf(PlayerFrags() == 7){printbold(s:"Warning: Preparing Missile for launch!!");} //If a player's frags equal 7, then display the message to ALL players (printbold prints to every player, print is only to the activator)}
So that'd be something like this:Code: [Select]Script 7 DEATH //Called when a player dies{SetActivatorToTarget(0); // Sets the person running the script to the person who killed the playerIf(PlayerFrags() == 7){printbold(s:"Warning: Preparing Missile for launch!!");} //If a player's frags equal 7, then display the message to ALL players (printbold prints to every player, print is only to the activator)}In general, this is still kinda sloppy as it will trigger whenever a player's frags equal 7 for any reason, but that's the gist anyway.