So basically I'm making my own hero siege, for the sixth time. Yes, this is my sixth attempt at this, and this time I'll make it :thup:
So, what will be included in this hero siege O' mine?
- An open/close way system
- 24 unique heroes
- 7 spells for each hero! 1 default ability, 5 hero...
Which is faster, writing a function in the custom map script section of a map and calling it from a trigger, or simply calling a BJ?
Example:
function GetAngleBetweenPoints takes real x1, real x2, real y1, real y2 returns real
return bj_RADTODEG * Atan2( y2 - y1, x2 - x1 )
endfunction...
Hi again, I'm coding a nova spell for a map o' mine, but there is a problem.
The dummy units are not moving :S
Here's the spell code:
function Trig_Water_Nova_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'Awrs'
endfunction
function Trig_Water_Nova_Filter takes...
Hai, I'm working on a hero picking system, but I've come across a problem; whenever I try to call a function between 2 triggers, it gives me a "Expected Function Name" error :banghead:
I put the function "StartPick" in a trigger above the Start Pick trigger:
function StartPick takes nothing...
Hi, I'm making a chance on hit knockback spell for my map, but it doesn't work, all it does is damaging the target, it doesn't knock it back.
I do not use any editors, nor am I planning on doing so :P
Here's the spell:
function Trig_Bash_Conditions takes nothing returns boolean
return...
I was just wondering if anybody out there knows how to convert an integer to a string or a string to an integer, hence I'm making a spell that requires the use of a hashtable, and I find it quite confusing when I simply use integers as childKeys...
Here's the spell so far:
function...