Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Misty

Members
  • Content count

    3845
  • Joined

  • Last visited

About Misty

  • Rank
    Forum Staple

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Single Status Update

See all updates by Misty

  1. 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. 

    1. Remilia Scarlet

      Remilia Scarlet

      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.

    2. Show next comments  3 more
×