QUOTE(Ultimo @ May 21 2005, 12:13 PM)
I might just have to take a bunch of different units and scatter them across the map and disable their doodad state.[right][snapback]212541[/snapback][/right]
Yup, that's the traditional way to do it.
QUOTE(Deathknight @ Apr 26 2005, 08:14 PM)
Make several(depending on your map, I'd say about 9-12 on a 256x256 map) rectangle locations(about 25x20 tiles, or 800x640 in size). Next, is for the triggers. It doesn't matter who they belong to. The first two triggers are for an anti-crash involving a scanner sweep. (Assuming Force 1 are the players, you have a computer player in another force, and the "unit" is a good unit chosen, when disabled, will crash any Starcraft[it can also include the disable-enable trick as well])
[TRIGGER 1: [CONDITIONS: Command Force 1 at least 1 Comsat Station., Switch 1 is clear.] [ACTIONS: Set Switch 1., Remove all unit(that you will use for anti-maphack) for computer player., Preserve trigger.]]
[TRIGGER 2: [CONDITIONS: Command Force 1 at most 0 Comsat Station., Switch 1 is set.] [ACTIONS: Clear Switch 1., Preserve trigger.]]
> Now these triggers are to prevent an innocent soul from crashing for scanning in a random place with a scanner sweep.
> Next, we copy the next two triggers for every location we made, replacing 'location' with the location you actually used.
[TRIGGER 1: [CONDITIONS: Bring Force 1 at most 0 any unit to 'location'., Bring Computer player at most 0 unit to 'location'., Switch 1 is clear.] [ACTIONS: Create 1 unit(that you will use for anti-maphack) at 'location' for computer player., Disable doodad state for unit owned by computer player at 'location'., Preserve trigger.]]
[TRIGGER 2: [CONDITIONS: Bring Force 1 at least 1 any unit to 'location'., Bring Computer player at least 1 unit to 'location'., Switch 1 is clear.] [ACTIONS: Remove 1 unit(that you will use for anti-maphack) at 'location' for computer player., Preserve trigger.]]
> You can also add another action to enable the unit after being disabled, depending on what you used.
Anti-hack level: B.[right][snapback]196115[/snapback][/right]
If it works for Ðeathknight it should work for you.