Warcraft III resources & community, 2003–2006 · archived

Map Trig Help -- Spawning Using TEXT

5 posts
#1

Map Trig Help -- Spawning Using TEXT

i need help with how to make it so once a person types the unit to spawn it... it no longer allows him to spawn that unit or any other hero.
#2

Re: Map Trig Help -- Spawning Using TEXT

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
#3
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...


Trigger - Turn off This Trigger


Trigger - Turn off (The trigger name)
#4
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
#5
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.