Search results

  1. Jonnycakes

    Massive lag when game starts

    I am working on a new map and have run into a problem that I haven't seen before. When the map is run through the world editor's test map function, it runs fine. When it is run on a LAN, there is a huge amount of lag. The framerate doesn't suffer, but when a player issues an order to a unit, it...
  2. Jonnycakes

    Camera Height and Targeting Reticle

    I am working on a 3rd-person shooter (like everyone and their mother) to learn my way around the editor. I have camera and movement controls working pretty well so far, but I still have a couple of issues: 1. I want to add a targeting reticle to each player's screen, but haven't found a way to...
  3. Jonnycakes

    Flight Sim Help

    Hi, I started messing around with a flight system today that utilizes the arrow keys. The system works by creating one flying unit for each player (more specifically a ground unit that has had crow form added/removed from it) that is then controlled with the arrow keys (the unit moves forward at...
  4. Jonnycakes

    Fatal Error 2nd Time Making Game

    Hi, I have a fatal error problem. I am working on a custom map, and the first time the map is played in one session of WC3 it runs perfectly normally. The second time the map is hosted (or the second time a player joins a game of this type) in a single session of WC3, that person gets a fatal...
  5. Jonnycakes

    Neutral Passive=Enemy???

    Hi, I am working on a map and am trying to implement neutral passive shops. I copy/pasted a gobbo shop and added the items i want and everything works fine except players cannot sell back items to the shops. The reason for this is that players (for some reason) treat the shops as enemy...
  6. Jonnycakes

    Building Upgrade Apply Timed Life?

    Hi, I am trying to add a timed life to a building. The idea is that a unit can build a morphing unit using the pocket factory skill. This morphing building can morph into 3 different types of buildings. I want to add an expiration timer to the building once it upgrades (whichever of the 3 it...
  7. Jonnycakes

    Parabolic Flight Path trouble

    Hi, I am trying to make a spell where a unit throws an axe. There will be more to it later, but for now I am just trying to nail down the path of the axe. I want it to fly in a parabola, starting at a height of 80, reaching a max height of 440 (for now), and going 600 distance before the axe...
  8. Jonnycakes

    Tavern-sells only 11 units?

    Hi, I am having troubles with a tavern hero-selection system. It has worked fine until now, and I think the reason why is that I now have 12 units that need to be sold from the tavern. I have set the 'select unit' button visibility to false, etc., but when my trigger attempts to add the 12th...
  9. Jonnycakes

    Metamorphosis Crow Morph

    Hi, I have been working on an ability for a (ground) hero that morphs him into a crow for a certain amount of time. Since storm crow form messes with the hero's max HP and mana in bizarre ways, I based the skill off of metamorphosis. No problems here. The skill works fine until the skill is...
  10. Jonnycakes

    Need Help with a Trip Wire Spell (and mysterious null variables)

    Hi, I have been trying to make a trip wire ability-the premise is that the user targets two trees and then a trip wire is created between the two trees. If an enemy unit crosses the wire, it explodes. I am using Anitarf's spell here as a reference, but I am still running into a lot of problems...
  11. Jonnycakes

    Invisible Lightning Effects?

    Hi, I am working on a tripwire spell and need a visual for, well, the tripwire. Lightning effects would be great, but I want my tripwire to be invisible(like stasis traps, goblin land mines, etc.) Is there a way to make lightning effects invisible?
  12. Jonnycakes

    Hashtable Problems?

    Hi, I am working on a skill that is for some reason STILL not working correctly...I think it has to do with the way I am indexing hashtables, but I can't seem to find what is going wrong. This is a skill that is supposed to spawn a dummy wisp (with vision and true sight) above a tree when...
  13. Jonnycakes

    How Do you Play Sounds?

    I did some searching, but didn't find anything helpful-How do you play sounds that are already included in the game? For example... call PlaySound("Units\\Creeps\\PandarenBrewmaster\\PandarenBrewmasterWarcry1.wav") ...doesn't work. What format do I need to use for the sound string to get...
  14. Jonnycakes

    Detect unit giving item to another unit?

    I am working on an item stacking trigger, and it works pretty well so far-items stack even if a unit's inventory is full. This is achieved through using dummy powerup items to replace the real items when they are on the ground. One problem arises when trying to give items to another unit-the...
  15. Jonnycakes

    Item Stacking System Bug

    EDIT: Solved-the condition line was wrong and created an infinitely recurring trigger call. I am working on an item stacking trigger, and got it to work fine...until a hero's inventory is full. Now I am trying to work around that, and have made dummy 'tome/powerup' items for every charged item...
  16. Jonnycakes

    3 Questions: special effects for channel, etc.

    I have 3 questions-any help will be appreciated, and, of course, +rep will be given to helpful answers: 1. SOLVED-I recently made a teleport spell that functions like a town portal, but can target any point on the map. The spell functions well, but the special effects are a little odd. When...
  17. Jonnycakes

    Portal Targeting Point

    Hi, I am trying to make scroll of town portal item that can target any point on the map. Since both scroll of town portal and staff of teleportation must target units, I used channel as a dummy spell and added effects to it. I am having trouble with the triggers that move the unit, though. I...
  18. Jonnycakes

    Hero Revive Issues...

    I have a trigger that periodically revives neutral hero units (there are 4 in total), and it isn't working properly for one of the heroes. There is one other hero that it wasn't working for, but when I changed it's stat "Combat-death type" from "Can't raise, does decay" to "Can raise, doesn't...
  19. Jonnycakes

    Struct arrays and knockback problems

    Hi, I am working on (what I think is) a fairly complex spell. It runs, but there are still a couple of things that aren't working quite right and I am not sure why. I will list the problems in a list: 1. Every time multiple instances of the spell are cast, I get the debug message, "Double...
  20. Jonnycakes

    Detecting What Buffs a Unit Has

    I am working on a counter ability and I want to stop negative buffs from being added to the unit if a spell is cast on it. Is there a way to detect when a buff is added to a unit, get what specific buffs a unit has at a given time, or stop buffs from being added to a unit for a given time?
Top