I wanna make an aura Strenght in Numbers that stacks,so the more units that have it are close to eachother,the bigger bonus they get.Is this somehow possible with normal auras,or do i have to do it somehow in jass..
Well first off the loop that increases count is supposed to increase it to 2 if the hero has 2 items of the type PERMANENT i mean if it has one and picks up a second one,the trigger should detect that when count becomes 2,yet it always becomes 1,i don't know why,so I set the condition for...
Im jst making it so a hero can only have one of each item class(permanent,campaign,artifact...) but it doesnt work properly at all.Here is the code I added a debugmsg to see whats going on:
function ItemCheckWeaponPermanent_Conditions takes nothing returns boolean
if ( not (...
function CreateSquad takes player owner, integer array IDs, integer size, integer dummyID, string order, unit trainer returns nothing
local integer i = 0
local location rally = GetUnitRallyPoint( trainer )
local real X = GetUnitX( trainer )
local real Y = GetUnitY( trainer )
loop...
There can be no better system
In my attempt i made the bullets for neutral extra and a periodic trigger that constantly moves the bullets forward.I am using no BJ functions,no points and only 1 unit group.Everything unleaked.There is no way to make it faster in wc3,this is the game's limit...
I'm making a projectile system where marines shoot bullets and the bullets are actualy units so the marines can hide behind cover and stuff.The problem is,for it to look good the marines need a low cooldown and that creates many bullets,so it lags a lot.How can i make it look like one bullet is...
I'm basicly trying to make a resource system which allows players to have like...10 resources so im using a multiboard with 10 colums and 2 rows+icon.The icon is the icon of the resource,the 1st row is the name and the second one is the quantity.The problem is multiboard is for everyone.Is there...
It is possible with special effects
As long as what you're making doesnt affect gameplay,it won't desync.Units will most certainly affect gameplay,so you can only make a special effect visible to only one player.The other way is if you're making a map where there are no allies,make a unit with...
I've seen this in a map,I can't remember where,but there you select a unit from a hero icon on the top left of the screen and from this unit you make global spells and stuff like that,but the important thing was,no matter how much you click the units icon or portrait it doesn't pan the camera to...
Im looking for a way to make a system that when the player types a message it doesnt show up so the system can do something with it and then display it.Basicly a custom chat.Like making disabled/enabled chat and stuff like that.My question is is there some jass function that can do that?
Here is what im making:
I attached a file so you can see what happens to the unit.Thanks for the help again.The abilities arent finished yet,but I'll finish them.I'm making an RTS map and this is one of the siege units for the aliens Oo
ok so i create units with a loop and after each created unit i set its custom value to 300.
loop
exitwhen( i == 12 )
call CreateUnit(GetOwningPlayer(caster),'sbdu',x,y,i*30.00)
call SetUnitUserData(bj_lastCreatedUnit,300) //(tried with GetLastCreatedUnit(),still doesnt work ;/
set i = i...
Still doesnt work
Am i missing something in the code above?It runs without errors,but when i use the ability the 8 spores are just created on the position of the unit and they dont move.
This is what i did
function MoveSpores takes nothing returns nothing
local location temp_point = null
local location temp_point2 = null
local integer i = 0
loop
exitwhen( i == 100 )
set temp_point = GetUnitLoc( GetEnumUnit( ) )
set temp_point2 = PolarProjectionBJ(...
Thanks
Thanks,but i wanna make it,so i can get more experienced in jass.Its the effect of an ability of a unit im gonna use in my map.Its from a race of bug/lizard alien things and this is the Spore Beast that carries spores.
Yes
yes,exacly :D seems i didnt know how exacly to use ForGroup() .So basicly i put another function up that just moves the units outward like MoveUnit() and then i call Forgroup(spores,function MoveUnit).Hope this works.