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.
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'...
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...
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...
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...
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.
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 =...
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...
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 ?
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...
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)
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...
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.
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...
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...
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.
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.