Search results

  1. Matemeo

    Getting a heroes main attribute.

    Title says it all, how can you find a heroes main attribute? be it str/agi/int. :confused: I think I remember this coming up a while back, I searched but couldn't find anything. Any help would be nice.
  2. Matemeo

    Timer not starting?

    I have this here code. scope ImpaleMadness globals private constant integer SPELL_ID = 'A003' private constant integer DUMMY_ID = 'n001' private constant integer IMPALE_ID = 'A004' unit caster integer ticks endglobals private...
  3. Matemeo

    Random Point In A Circle

    How to find a random point in a circle? Can't find a function that does it, and search has failed me. Thanks in advance.
  4. Matemeo

    Double free of type: Weird error

    I'm making a spell that shoots out orbs, and as it passes near enemies it'll randomly zap one till it gets to the end of its path. Heres the spell scope Orbs globals constant integer ORBS_AID = 'A005' constant integer ORBS_UID ='n000'...
  5. Matemeo

    Ability Problem + Checking to see if I'm doing right (using ABC)

    Spell works as intended minus 1 key point. It won't stop, unless the unit dies. Have a look. scope Test globals private integer fB_AID = 'A00H' //FrostBite ability code private integer interval = 2 endglobals struct test unit caster unit target...
  6. Matemeo

    Ability Problems

    I made an ability named Chain Frost (Name is deceiving, more of a field of frost :) ) EDIT: Fixed (read, kinda) function Trig_Chain_Frost_Conditions takes nothing returns boolean return GetSpellAbilityId() == 'A000' endfunction function cF_Filter takes nothing returns boolean local...
  7. Matemeo

    Jass NewGen Won't Open

    Just yesterday I could run Newgen World Editor just fine, but after waking up this morning and trying to open it, nothing happens. Like, I'll go into the folder, then double click on the Newgen WorldEditor icon, and nothing will happen. The normal world editor opens up and works just fine...I...
  8. Matemeo

    Ability Help

    I made an ability that does +damage when a melee hero uses it, but I need it display the heros attack animation, because as of right now he just stands there while the damage is dealt, then he goes on auto attacking. I've tried a ton of stuff, nothing has worked. Any help would be appreciated.
  9. Matemeo

    Global Structs?

    So...After a lot of reading and tampering I finally figured it out This is my new code that works struct a public integer x endstruct globals a ax=0 endglobals Thats in my custom script, and I tested it here: function Trig_test_Actions takes nothing returns nothing set ax.x =...
  10. Matemeo

    How to do this efficiently

    I'm doing the triggers for an ORPG, and I need a way to spawn the units quickly and without a lot of lag. There is 8 "areas" that have its own set of units, when a player enters the area, I want all the units to spawn, but when there is no more players in that area, I want them to be removed...
  11. Matemeo

    Creating a quest w/o a Bj

    The gui -> jass conversion of create a quest is a bj, I found a non bj createquest, but it just returns quest without any parameters. How/What do you use to create a quest with name/description/icon ?
  12. Matemeo

    Need some JASS help =/

    I took Chocobo's damage system, and rewrote it in JASS, to suit the needs of my map, however, I came across an odd error/bug =/ Here's the trigger. function Trig_Show_Damages_Actions takes nothing returns nothing local real DamageDone local real RandomChance local real ExtraDamage set...
  13. Matemeo

    Question About coordinates

    I've read its better to use (x,y) coordinates rather then rects, are the (x,y) coordinates what you see in the bottom left hand corner of the screen in the main Editor screen? Thanks in advance, (Once again...sorry if it's already been asked :O)
  14. Matemeo

    Unit Integer?

    Hi all, new with jass. What I don't get with this is...unitid, what is that? Where do you find it? I tried making a trigger in GUI and converting, but I still don't get it. :cool: Any help would be nice, thanks! CreateUnitAtLoc takes player id, integer unitid, location whichLocation...
  15. Matemeo

    Give item to unit.

    How to give an item to a unit? I'm looking all over and i can't find it, I'm retarded :D EDIT: Ignore, i'm retarded, found it ><
  16. Matemeo

    Quick question about unit distance

    I want it so that units respawn only if my hero is far enough away from that respective region, how to do it? I checked through some conditions, couldn't find it, any help, much appreciated.
  17. Matemeo

    Respawn Trigger Troubles

    Ok heres the trigger I made up for a respawn trigger QuillBoreRespawn Events Time - Every 5.00 seconds of game time Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions...
  18. Matemeo

    Exiting a trigger mid-loop?

    I made a respawn trigger that checks how many of the current creeps are alive, then creates more based on how many are alive. But unfortunantly, it loops too much sometimes, and spawns too many units. To make it work I need exit the trigger 100% mid-loop, and w/o hampering the triggers ability...
  19. Matemeo

    Enemy Respawn, Random Positions?

    In the map I'm making I want enemies that die, to be respawned, in a random spot, inside of 1 big region. So..If I was to kill Enemy 1, then I would want him to respawn somewhere random inside the region, is this possible? Would hopefully like to stick to GUI. Thanks in advance.
  20. Matemeo

    Problem with screen All gone green

    Hi, I got a problem with my map, what it does, is when I go to test play it, I get huge patches of green around certain spots of the screen. Heres a screenshot so you can better see it. http://img477.imageshack.us/my.php?image=wc3scrnshot011707212150ao8.jpg Thanks in advance.
Top