Request 2 Trigger
1. Disable Fog of war
example
Player - Player1 (Red) types a chat massage containing Hackmap As exact match
.
.
.
Player - Player12 (Red) types a chat massage containing Hackmap As exact match
condition
<<<????
give 1 player can see full map
Action
Visibliity - Disable Fog Of War
what's condition?
2. Enable code same
http://forum.wc3edit.net/viewtopic.php? ... light=dota
code "-gogo"
Request : Trigger [Enable Some code / Fog of war]
Moderator: Cheaters
-
- Newcomer
- Posts: 5
- Joined: February 20th, 2007, 11:53 am
-
- Member
- Posts: 57
- Joined: February 11th, 2007, 8:31 am
- Location: Germany
I'm not at my own computer, thats why I couldn't look in the WE. But it isn't so difficult:
You didn't need a condition!
Instead of Disable Fog of War you have tow write:
Visibility - Create Visibility across (Playable Maparea) for (Triggering Player)
TO enable the code, you have to create a second trigger:
I think that was everything!
greets Dark_Shadow32
You didn't need a condition!
Instead of Disable Fog of War you have tow write:
Visibility - Create Visibility across (Playable Maparea) for (Triggering Player)
TO enable the code, you have to create a second trigger:
Code: Select all
E: Player - Player 1-12 (red) types a chat message containing -gogo As exact match
C:
A: Trigger - Turn On <name of the trigger>
greets Dark_Shadow32
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
That way uses up too much space because if you have more than 1 cheat you'll have to use Turn on trigger more than once
I suggest using a boolean array
E:Player X types -gogo as an exact match
C:
A:Set Boolean[Player number of triggering player] = true
For the cheat...
E:Player X types Hackmap as an exact match
C: Boolean[Player number of triggering player] = true
A: Disable fog of war for Triggering player
If you do this, it also prevents you from typing -gogo, the cheat being turned on and then others using it without typing -gogo first.
I suggest using a boolean array
E:Player X types -gogo as an exact match
C:
A:Set Boolean[Player number of triggering player] = true
For the cheat...
E:Player X types Hackmap as an exact match
C: Boolean[Player number of triggering player] = true
A: Disable fog of war for Triggering player
If you do this, it also prevents you from typing -gogo, the cheat being turned on and then others using it without typing -gogo first.
-
- Newcomer
- Posts: 5
- Joined: February 20th, 2007, 11:53 am