- Joined
- Jun 17, 2007
- Messages
- 1,433
If I used a trigger comparison to prevent others from editing my war3map.j file? E.G. on initialization i had a trigger to look like this:
So it would check to compare 2 exact triggers(It would require a copy of every single one of them), and if one of them was altered it would defeat the players. Better yet it could look like this: Initialization Check
-
Initialization Check
-

Events
-


Map initialization
-
-

Conditions
-


Initialization <gen> Not equal to Initialization Copy <gen>
-
-

Actions
-


Player Group - Pick every player in (All players) and do (Game - Defeat (Picked player) with the message: Defeat!)
-
-
So it would check to compare 2 exact triggers(It would require a copy of every single one of them), and if one of them was altered it would defeat the players. Better yet it could look like this: Initialization Check
-
Events
-

Map initialization
-

Conditions
-


Initialization <gen> Not equal to Initialization Copy <gen>
-
-

Actions
-


Trigger - Run (This trigger) (ignoring conditions)
-
-





