Search results

  1. K

    Unit move sliding trigger

    Custom script: call SetUnitX(udg_unit,udg_X) Custom script: call SetUnitY(udg_unit,udg_Y) Im currently using this trigger to move my unit rather than Unit - Move unit instantly to Temp_Loc_2 This is because it allows me to cast spells while sliding and also doesn't break channeling...
  2. K

    Neutral hostile units not moving

    I have a trigger that creates neutral hostile units and I order them to attack move to the center of the map. I increased the Creep return distance and return time. I also added a large acquisition range. Everything works fine until there are heaps on units in the map. Once there are a lot of...
  3. K

    Upgrades and the Chaos ability dont mix.

    I have an upgrade that give an HP boost. I also have a toggle ability that adds and removes chaos. Every time the unit is toggled, it gains the upgrade. So toggling backwards and forwards a few times gives you heaps of HP. Anyone know of any quick fixes. I don't want to have to make an ability...
  4. K

    Trigger crashes game

    Hi hi I needed more room for spells so I turned my move to trigger an ability since M-click move is different from the mouse right-click move. I made one of my spell which originally triggered via an point ability not trigger when I click the move button or hotkey (I changed the position and...
  5. K

    Disable HP bar for single player (Jass help)

    Currently I'm using a selection circle of 0 to hide my HP bar but It appears randomly in places. I want to get rid of the HP bar using the game- disable HP bar but for only a single player. call EnablePreSelect( true, false ) How do I get this to only affect one player
  6. K

    Cloaking using the defend ability and transparency

    Whenever I cloak up, I have to cloak twice before I can go transparent. I used the chaos ability to switch between units so I could get rid of the health bar and shadows. I uncloak straight away but cloaking always takes two uses. Cloak start Events Unit - A unit Is issued an order with no...
  7. K

    Save as key of Last created unit in hashtable

    I can't seem to save the variable that I want using the key of my last created unit. Is this a limitation of the WE?
  8. K

    Moving missile with partial homing

    I'm having trouble making my missile have partial homing. My missile is a unit with 1 move speed and 3.0 turn rate. It has a global acquisition range. When cast it turns towards the nearest enemy target. I want to change the direction of the of the missile towards the direction of the facing...
  9. K

    Units only to be seen by selected players

    I want to create units and dummies that can only damage and only be seen by a certain player. Eg. I cast an illusion on you. You see yourself surrounded by enemy units I can see the units surrounding you Your allies cannot see them My allies cannot see them You get attacked by enemies and take...
  10. K

    Math help for Angles

    Got a mean headache from trying to work this out. I have a dagger (D) throw ability and a ninja star (S) throw ability. Both a dummy units in a slide trigger. Every 0.01 seconds they move a distance of speed(D) or speed(S). I'm trying to make a trigger which detects when a dagger is within X...
  11. K

    Close a spell book

    I need a way to close my spell book after I have used a spell in it. I don't want to remove the spell book and then adding it again as I have immolation and it deactivates when I do that. I tried diabling and re enabling the ability but that doesn't work. I noticed that when you open a spell...
  12. K

    Issue point order by ID

    Hi!! So far I've beem using: Custom script: call IssuePointOrderById(udg_Cast_unit,852600,GetLocationX(udg_Temp_point),GetLocationY(udg_Temp_point)) This makes my unit use channel at Temp_point but it seems to only be targeting the centre of the map. I don't know anything about Jass so I...
  13. K

    Tech and Ability with charges

    I want to either to change level of the tech researched or have an ability with charges like the night elf sentinel. Does anyone have a way of reducing tech levels or having a target spell with charges that can be triggered?
  14. K

    Changing unit model using chaos or replace unit

    I'm wanting a trigger that changes the model of my unit when it is within 100 range. I want it to change back when there are no units in range. At the moment I have a check every 0.02 seconds but I don't know how to change the model. With replace unit the unit is removed from the group and...
  15. K

    Sight range decrease using item sight range bonus

    I've based it off the item sight range bonus. I have 37 levels and sight bonus is set to a negative value. I am unable to level the ability up in triggers. When I double click a unit in the editor with this ability, there is no level setting either. I previously just had 100 levels of...
  16. K

    Error and Crash

    Can someone please tell me what this means and how I can fix it? I made a slide trigger using hashtables but after I use the spell for the third time it crashes the game.
  17. K

    Slide Trigger [code help]

    I have a unit which is a missile in a slide trigger. The slide trigger moves towards the facing direction of the missile. I select the missile but I cannot force it to turn. I made a trigger like this once and used X and Y positions because it doesn't cancel out orders but I've forgotten it...
  18. K

    Basketball Shot

    I have a basketball that bounces up and down and when I shoot the ball, I have a dummy cast storm bolt which looks like my basketball model. I'm wondering about how to make it a unit instead of a missile. I want the basketball to start at a Z of 150 and go towards the hoop in a arc shape. It...
  19. K

    Make a ball bounce up and down

    Sorry to double post but I had no views anyway. I wanted to change my title. I want a trigger that makes my basketball bounce up and down.
  20. K

    Bounce Trigger

    Bounce Trigger (like a basketball) How do you make a ball bounce up and down?
Top