• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Map Trig Help -- Spawning Using TEXT

Status
Not open for further replies.
Level 9
Joined
Jan 13, 2005
Messages
553
You mean when you type a message it will no longer allows spawning. Is that what you mean?

Anyway here is the Pseudocode:

E: player xx type a message containing TXT as an exact match
C:
A: turn off TRIGGER SPAWNING
 
Level 7
Joined
Feb 19, 2005
Messages
136
no i mean something like this

The player types like -soldier or -medic for a soldier/medic and then once they do that. they can no longer spawn the soldier or medic or sniper or w/e else i got...

their is only two things i have tried...

Code:
Trigger - Turn off This Trigger
Code:
Trigger - Turn off (The trigger name)
 
Level 9
Joined
Jan 13, 2005
Messages
553
Ok! Say you have two spawning triggers; Soldier Spwnng & Medic Spwnng.

Pseudocode1:

E: player # types a message containing SOLDIER as an exact match
C:
A: Turn off Soldier SPWNNG

Pseducode2:

E: player # types a message containing MEDIC as an exact match
C:
A: Turn off Medic SPWNNG
 
Level 4
Joined
Nov 24, 2004
Messages
70
If this is a multi player game, if say one person types that, if u do turn off "spawn soldiers" then unfortunatly it will shut that trigger off 4 everyone.
 
Status
Not open for further replies.
Top