• 🏆 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!

custom script

  1. iqLJesus

    Problem with custom script fail

    There is a problem and I cannot find it (Because I'm a beginner). Everytime I try to test it skips to main menu and cannot open map. What I'm trying to do is everytime a unit attacks create a illusion of attacking unit by creating a dummy and using Item illusion ability on attacking unit...
  2. Plebbetry

    Checking a point in a triangle

    Hello, i am trying to create a spell which selects units who are in a triangle inside a 1200 unit radius. So far i have read up about it and found this thread: [vJASS] - Is Point In Triangle and i've chosen this scriptfunction IsPointInTriangle takes real px, real py, real ax, real ay, real bx...
  3. Plebbetry

    Checking a point in a triangle

    Hello, i am trying to create a spell which selects units who are in a triangle inside a 1200 unit radius. So far i have read up about it and found this thread: [vJASS] - Is Point In Triangle and i've chosen this scriptfunction IsPointInTriangle takes real px, real py, real ax, real ay, real bx...
  4. Ruvven

    Leak fix location array?

    Hey there everyone, I have an array point that i will be spawning quite alot but i need it to be cleared aswell of course and the point itself is based on another unit variable where it selects the player number of triggering player? is there any way to do something like the one i listed...
  5. DexterFstone

    fade filter

    Hi, how to use a fade filter for just trigger player?
  6. DoomBlade

    [Trigger] Custom script local integer initialize value

    Might2 Events Game - PDD_damageEventTrigger becomes Equal to 0.00 Conditions (Level of Might (Completed) for PDD_target) Greater than 0 (PDD_target belongs to an enemy of (Owner of PDD_source).) Equal to True (Random integer number between 1 and 100) Less...
  7. Bloodheaven_

    [Solved] Can we sync local values from 1 Player to every other and how?

    Hey there, I'm currently experiencing desyncs in my map. I mostly think that they are caused by functions like these ones: Test Events Player - Player 1 (Red) issues Mouse Down event Conditions Actions -------- Example 1 -------- Set VariableSet Temp_Point...
  8. Setokaiva

    (1.31) Custom script: "Any unit takes damage" event

    The recent patch to 1.31 had, in the notes, a reference to new capability for custom scripts to detect when any unit is damaged for a trigger event. Does anyone know how exactly I would write such an event in custom script?
  9. CodeBlack

    [Solved] Custom Scripts / creating unit groups

    Hey there :) can somebody tell me how to properly use custom scripts to create a specific unit group in a group array. I need to number it as follows: Custom value of Unit + (Player Nr. of owner casting unit * 10) is that even possible? greetings CodeBlack
  10. Voxelvoid

    How to "Remove Reviving"

    How do I remove reviving? In many custom maps that I have played you can often choose a hero/character from a set of characters. If your character dies you cannot revive it. Originally I thought that this would stop people from training new heroes and reviving them. But as it says, it only...
Top