-
Content count
3845 -
Joined
-
Last visited
Single Status Update
-
It would be great if we could choose put items only for pistol start or for continous play in maps. I guess, everything would become more complicated than now. It's just a random thought while testing stuff, it's not real thing.
-
int PlayerTID = 0; script 1 ENTER { PlayerTID = UniqueTID(); Thing_ChangeTID(0, PlayerTID); // Extensive check to see if we're doing a pistol start if(GetActorProperty(PlayerTID, APROP_Health) == 100 && CheckActorInventory(PlayerTID, "Pistol") == 1 && !CheckActorInventory(PlayerTID, "Shotgun") && !CheckActorInventory(PlayerTID, "SuperShotgun") && !CheckActorInventory(PlayerTID, "Chaingun") && !CheckActorInventory(PlayerTID, "RocketLauncher") && !CheckActorInventory(PlayerTID, "PlasmaGun") && !CheckActorInventory(PlayerTID, "BFG9000") && !CheckActorInventory(PlayerTID, "Chainsaw") && GetArmorInfo(ARMORINFO_CLASSNAME) == "None" && CheckActorInventory(PlayerTID, "AmmoClip") == 50) { // Spawn stuff for pistol start here } }
You could probably do it in ACS. The only real pain is setting up the MapSpots to spawn stuff.
- Show next comments 3 more
-