BullyWiiPlaza
Modder
- Messages
- 214
- Reaction score
- 174
- Points
- 818
This script makes everyone in the lobby drop scavenger bags and also gives them the Scavenger perk so that they can pick up the dropped bags.
Note:
Before you just copy and paste this, you have to know that it uses my printing utilities so include those functions in your GSC. Also for the original script/idea.
Example video of the mod in action:
Enjoy
Code:
toggleScavengerHeaven()
{
level.scavengerHeaven = invertAndPrint("Scavenger Heaven", level.scavengerHeaven, true);
if(level.scavengerHeaven)
{
thread scavengerHeaven();
}
else
{
stopScavengerHeaven();
}
}
stopScavengerHeaven()
{
level notify("stopScavengerHeaven");
}
scavengerHeaven()
{
level endon("game_ended");
level endon("stopScavengerHeaven");
while(true)
{
foreach(player in level.players)
{
if(isAlive(player))
{
player setPerk("specialty_scavenger");
// Drop a Scavenger bag
item = player dropScavengerItem("scavenger_item_mp");
item thread maps\mp\gametypes\_weapons::scavenger_think();
}
wait 0.2;
}
wait 0.5;
}
}
Before you just copy and paste this, you have to know that it uses my printing utilities so include those functions in your GSC. Also for the original script/idea.
Example video of the mod in action:
Enjoy