so im having a problem, when a spell tower casts roots on a creep that creep takes damage blah blah for 5 seconds but then doesnt continue moving, it just stands there until its attacked again
i've changed the gameplay constants to 9999 and 99999 so that cant be the problem....
I have no idea why but it only damages the target once for 5% of their HP.
This is the function that does the damage.
function HPPercentDamage takes unit source, unit target, real percent, boolean currHP, attacktype at, damagetype dt returns nothing
local real dmg
if currHP then...
Typo in title don't mind it that much. ;)
function BlinkTo takes unit who, real x, real y returns nothing
local real maxX=GetRectMaxX(GetPlayableMapRect())
local real maxY=GetRectMaxY(GetPlayableMapRect())
local real minX=GetRectMinX(GetPlayableMapRect())
local real...
function Blink takes unit who returns nothing
local real maxX=GetRectMaxX(bj_mapInitialPlayableArea)
local real maxY=GetRectMaxY(bj_mapInitialPlayableArea)
local real minX=GetRectMinX(bj_mapInitialPlayableArea)
local real minY=GetRectMinY(bj_mapInitialPlayableArea)
local real...
Since this is the first struct I've ever made, I've had a few problems with it but one keeps reappearing...
struct Paladin
unit Hero
integer Type = 'Hpal'
method GetHP takes nothing returns real
return GetUnitState(.Hero,UNIT_STATE_LIFE)...
is there any way i can find out the damage type that triggers the EVENT_UNIT_DAMAGED event?
i need some way to find out whether or not the damage is caused by the hero's attack or by the spells it casts
Do any of you gentleman know a program that will allow me to switch between the back-panel audio connectors to the front-panel audio connectors and vice-versa?
[EDIT]
nvm...just gonna do it the less-techy way
so a few days ago i opened my PC to clean it up really good and so i did
after i reassembled it and turned it on i noticed the green LED (power on) wasnt working at all although it isnt dead and the monitor doesnt turn on
what do you think is wrong with it?
i connected every wire from the...
is there any way i can change the .create() method of a struct?
if no, can i call it in another method and then not use something like
local blah b = blah.create()
Hey guys, long time no see...
I've started working on a kind of RPG map about 2 weeks ago and it's going quite slowly since I'm the only one working at it. I'm aiming to make a 256x256 map in which, at the beginning, you play like you would in a normal W3 RPG but, I want to make Sargeras appear...
Hello again, i've made the below function that is supposed to replace doodads which it really does but i want to know what YOU think of it:
Does it have leaks?
Is it useful for anything? and so on
function ReplaceDoodad takes destructable toRe, integer newID, real scale, integer var, boolean...
Hello there...lame entry.......
Anyways, i was bored the other day and thought about making some spells which i actually did.
Here they are(code only, no screens):
Mana Blade(lame name...i know)
First trigger that adds damage and a 20% chance to burn 100 mana from the target
function...
Hello! I made this post (i don't know the real reason) to help others that want to become modelers/animators that make the animations themselves.
You can get Pascal and JASS scrips from this link.
If for some unknown reason the link doesn't work here they are:
in JASS:
function Quaternion takes...
these are supposed to teleport a unit x.y seconds after its been ordered to move somewhere but for some reason...
function Trig_learn_Actions takes nothing returns nothing
if (GetLearnedSkill() == 'A000') then
call TriggerRegisterUnitEvent( gg_trg_teleport, GetTriggerUnit()...
i got this system, made by me so far
save
Events
Conditions
Actions
Set SLSelectedHero = (Units currently selected by (Triggering player))
Unit Group - Pick every unit in SLSelectedHero and do (Actions)
Loop - Actions
If (All Conditions are...
Hello helpers, this is my first spellpack so dont yell at me if i did something wrong, ok?
Import Difficulty: easy, i guess
MUI: idk, but whos gonna use the spells anyway
Lagless: yes
Leakless: pretty much
Spells: Storm Hammer, Thunder Clap, Dwarf Might, Avatar
Storm Hammer
Manacost...
what are they?
what are they used for?
how can i use them?
i was looking at common.j at a time and i saw some events(i think) referring to trackables that use a trigger, an trackable but when i tried using them WE didnt recognize them(i forgot what they arer supposed to return)
Ive managed to make some triggers that detect iseedeadpeople/maphack, whosyourdaddy and warpten cheats but i cant make one for pointbreak.
Also(read this) ive been searching through blizzard.j and common.j and in common i found 2 game flags that are somehow related to cheats does anyone know...
what i sent one day to my boss:
Dear Bo$$
In thi$ life, we all need $ome thing mo$t de$perately. I think you $hould be under$tanding of the need$ of u$ worker$ who have given $o much $upport including $weat and $ervice to your company.
I am $ure you will gue$$ what I mean and re$pond...