cyber-menace Posted November 25, 2003 Two questions... 1. Is there a way to make a script that only executes in Deathmatch? 2. Can Thing_Remove target a specific breed of monsters like T_IMP instead of a tag? I don't want to go around and click on EVERY monster in my new level and tell it not to show up in deathmatch... that would take too long. Oh yeah I might as well ask this one too... 3. Is there anyway to spawn a command keen? I use it as my mini cyberdemon and I can't spawn them, but the ZDoom reference guide is so out of date I thought there might be something likeThing_Spawn (1, T_KEEN, 0); Well that about does it... can anybody answer these? 0 Share this post Link to post
Ichor Posted November 25, 2003 1.if((gametype() == GAME_NET_DEATHMATCH) { scripts } 2. I'm not sure Thing_Remove works on a specific type of monster. I've only used it for monsters with a certain tid. 3. Don't know. 0 Share this post Link to post
Nanami Posted November 26, 2003 SpawnSpot("CommanderKeen",tid,newtid,angle); 0 Share this post Link to post
cyber-menace Posted November 26, 2003 Well to complete Deathmatch compatability... I must as well ask 4. How do I get a script to run in anything, BUT deathmatch? 0 Share this post Link to post
Nanami Posted November 26, 2003 if (GameType() != GAME_NET_DEATHMATCH) 0 Share this post Link to post
cyber-menace Posted November 26, 2003 Ok that there is great... I was wondering if I were to useThing_Destroy (0); etc... Would that only destroy the monsters? Or would it kill the player, weapons, etc. as well? Only problem is there would be a lot of corpses around. 0 Share this post Link to post
Nanami Posted November 26, 2003 Most of the time a tid of 0 destroys the activator of the script. 0 Share this post Link to post
cyber-menace Posted November 26, 2003 Is there anyway for a script to remove all monsters? Almost as if the No Monsters flag was set? If there is then I can just do that... 0 Share this post Link to post
Nanami Posted November 27, 2003 The only thing I can think of is to give all the monsters the same tid and remove that tid. 0 Share this post Link to post
cyber-menace Posted November 27, 2003 Looks like I'm going to be unclicking a lot of deathmatch tags then... ug... 0 Share this post Link to post