My map wont run in 1.26, I made it in the previous patch with newgen, when I try to test , it kicks me to main menu, How can I fix this?
I tried to save it in maps directory and test it through war3 but it does not start just kicks back to the same screen where players join, then after i try...
____a__X__b
___a_______b
___a_______b
____a__c__b
c = Caster
X = Where two projectiles meet( get destroyed)
a = Projectile 1
b = Projectile 2
How would I code the above described movement, It is basically a circle with the caster and collision points being at polar...
Hey guys Im looking for ideas for some channeling spells.
Any kind of channeling spell can cost, health , mana, or nothing at all.
Any decent idea gets +rep, as im rephappy :D.
Im having difficulty conceiving channeling spells done in vjass, could you please post example codes of channeling spells.
Spells that stop on end of channeling, and stop when channeling is interrupted etc, and spells that require x amount of channeling to get x effect.
Im not sure on the...
Which systems would I need to make a Damage over time function, Im currently using Damage and T32 as my timer system and interval.
How can I make this MUI and MPI and so on, so that there are no glitches in multiplayer with multiple units being dealt damage over time with different amounts and...
If a unit dies while metamorphosed sometimes the player loses all control over the unit, how do I fix this? is it a missing field that I have to fill in under the unit that is uses metamorphosis?
Is there an application that allows for armor calculation or are there formulas that exist for various armor calculations, ie how much would 50 magic damage do to 7 armor etc.
After a hero in my map used an item based off of clarity potion his mana and health constantly degenerated instead of regenerated, it was permanent even after death? What could be the bug causing this, how do I fix it?
How would I use SetUnitFlyHeight in a periodic so that I can get a smooth on the spot jump, mainly just setting a units height quite high, then falling dramatically.
This ability really makes my game lag, im wondering if its just sfx, or the floating text that shows when a unit is damaged, as this period is tiny so it could be that too, But for now is this code causing any problems?
Trying to remove one item them replace it with another, Eg: greenitem gets replaced with blueitem in same slot, however its not working. private function Actions takes nothing returns nothing
local unit d = GetTriggerUnit()
local integer i = GetInventoryIndexOfItemTypeBJ( d, GREENITEM)...
Ive made something of code in theory, obv wont work but how can I make it do what I want, basically hero enters region then a backup dummy is spawned linked to that player, then when the hero leaves the backup is removed. What ive managed to put down in "code".
What would be the most efficient method of detecting if a unit is in a rect then giving it an ability eg) +10 damage, and removing it again if the unit leaves the rect? Use enter/leave functions or a perodic, or some other solution?