Hm... Maybe I've asked this one before but anyway:
How to use the ExecuteFunc native which takes a string, i.e function/static method's name to "execute" a static method?
static method FUNCY takes nothing returns nothing
call BJDebugMsg("If instead of ")...
Unit Indexer by Nestharus
SpeedMod by Dirac
GrimexManual (file:///somewhere_on_you_hd/newgen/jassnewgenpack5d/grimext/GrimexManual.html) by PitzerMike
A spreadsheet program like OpenOffice.org Calc
After clearing the requirements I will try to...
An orbiteffect is basically an eyecandy effect that happens to rotate in an circular type of movement (on a sphere's surface).
The api is really simple:
orbiteffect orbiteffect.add_to_unit(unit u, real radius, integer axis_of_rotation, real angle_in_degrees, real...
Can someone confirm this, or am I "missing" something
I use the following script to test:
readonly integer array ARRAY
readonly integer NOT_ARRAY
function main takes nothing returns nothing
local S s = S.create()
set s.ARRAY = 5
unitgroup is an attempt to replace the native group type with a non native one (a struct type)
which is much easier to work with and is hopefully faster =).
Reasons that make the native group type "hard" to work with is that it doesn't know it's size (how many units there are),
yadw?!?! Yup =)
yadw - yET aNOTHER dIALOG wRAPPER
NOTE: The recommended structure that scripts using this snippet should follow is not supported by vanilla vJass! The Zinc language is a must!
NOTE: If scripts using this snippet use more that 62 strings literals (color codes, button names and...
Which is the lowest value that a timer period can be set and it will execute it's code after it's expiration?
I am getting results of 10 004 per second as a maximum value. The snippet I use to test:
integer i = 0
timer t = CreateTimer()
timer t2 = CreateTimer()...
FarSightBJ aka "dynamic revealing" reveals a circular area and the invisible units inside to
a player and his allies for a given duration.
xecast library by Vexorian
ScannerSweep found here
GroupUtils by Rising_Dusk
TimerUtils by Vexorian
Okay so what exactly is TriggerRegisterUnitOutOfRange, you may ask... well it's this:
function TriggerRegisterUnitOutOfRange takes trigger t, unit u, real range returns r17field
i.e the "opposite" of:
native TriggerRegisterUnitInRange takes trigger whichTrigger, unit whichUnit, real...
Optic Blast is more or less [pretty much =)] a clone of the Starcraft 2's Colossus Thermal Lance attack.
The underlying struct requires feeding it some points and other data after that it caries the actions.
LightningRecycle allowes efficient usage of lightnings and moving from destroying them to recycling.
Can be configured to precache only the types of lightnings that the map is using.
There is also a picture of how the different types of lightnings look like (for fast refference).
Which function do you think/know is better (fires faster), TriggerRegisterUnitInRange or TriggerRegisterEnterRegion in the case of a projectile movement (with high speeds [2000+ for example]).
Of course TriggerRegisterEnterRegion with some distance calculations to make sure the entering unit is...
First of all why bother recycling when you can Destroy and Create? Hm... I am not sure (given the much improved hardware these days) but I think if a handle type could be recycled it should (example: unit handles (projectiles, dummies, etc.), timers [of course =)], groups and I can't think of...
Allows sorting of arbitrary type arrays (+ bonus printing them). The "algorithm" used is called "Selection Sort" I think.
All functions/textmacros work in the range [a, b)
The comparison function which is required by the sort_handles_<asc|desc> functions and is user defined and is of the form...
From videos at YT it seams that Diablo 3 will have PvP mode, but with 4 player cap (at least I think it will be 4).
So it will be 2 teams or ffa if am not forgetting something, but why not Blizzard just make a Dota like mode for Diablo 3?
It will be kinda different (better), I think a lot of...
It seams Blizzard has made a calculator for different builds and it allows sharing them as well so I figured I'll post my =).
About the build:
It's for the Wizard class, and instead of making him/her a wizard makes the hero a tough fighter relying on physical damage instead (wtf? I...
First thing first, what does TOD mean?
Well it means Time Of Day (Off Topic: also it's the nickname of the former professional Warcraft 3 TFT player Tod (aka 4K.Tod)
who I think is now a decent SC2 player as well =), so yeah go Tod!), which can be tweaked in Warcraft 3 as I think we all know...
Warcraft 3 The Frozen Throne has 126 events [if you count that the
unitevent(s) are different from the their corresponding playerunitevent(s),
if not then 85 and of course if I've counted them correctly =)]. They are
pretty much the same except that unitevent(s) have 4 more events...
----I was "thinking" about the word static and it's usage and meaning in
the programming languages. I am not sure if the C language was the one
to introduce it but it's usage is strange for me at least. I know a
little C but I think I know what static does. Prepended to a global...
What does FlushParentHashtable native actually do? I thought it just clears/flushes whatever was in the hashtable passed as an argument but it seams it renders it unusable.
hashtable ht = InitHashtable()
function test_flush_parent_hashtable takes nothing...