🏆 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!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Anti Map Hack System.w3x
Variables
Initialization
Melee Initialization
Anti Map Hack System
Anti Map Hack System Item Mode
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
AntiH_Item_Group
group
No
AntiH_Item_Point
location
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
Visibility - Disable fog of war
Visibility - Disable black mask
===========================================================================================================================================
==Important==
In the condition
Or - Any (Conditions) are true
Conditions
(Item-type of (Target item of issued order)) Equal to Rune of Shielding
Just add some runes, items, etc that is not invisible in there that you want to check if somebody is map hacking. Damm I hate explaination.
Anti Map Hack System Item Mode
Events
Unit - A unit Is issued an order targeting an object
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Target item of issued order)) Equal to Rune of Shielding
Actions
Set Variable Set AntiH_Item_Point = (Position of (Target item of issued order))
-------- Just set the range in the unit group. "This range is important because it will detect whether there is an ally that has a shared vision with the triggering unit" --------
-------- I recommend the range should be 2000 --------
Set Variable Set AntiH_Item_Group = (Units within 2000.00 of AntiH_Item_Point matching (((Matching unit) belongs to an ally of (Owner of (Triggering unit)).) Equal to True).)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in AntiH_Item_Group) Less than or equal to 0
Then - Actions
Game - Display to (All players) for 1000000000.00 seconds the text: ********************************************************************************
Game - Display to (All players) for 1000000000.00 seconds the text: (Our friend named + ((Name of (Owner of (Triggering unit))) + is map hacking!!!))
Game - Display to (All players) for 1000000000.00 seconds the text: ********************************************************************************
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.