Check the "Transient" flag if you don't want an ability to interrupt orders.
Resources > Tutorials
Making a custom ability and dont know how?
- 87 posts
- ← Previous
- 1
- 2
- 3
- 4
- 5
-
TheAlmaity Moderator
- Battle.net
- TheWatcher
- #477 EU
- Join date
- May 30, 2010
- Location
- Croatia
- Reputation
- 103
- Posts
- 2,588
- Projects
- 2
- Last login
- May 22, 2013
-
sc2aaa Regular Shmoe
- Join date
- Mar 16, 2013
- Location
- United States
- Reputation
- 0
- Posts
- 12
- Last login
- May 18, 2013
Ah thx :) I solved the cannonball spread in the following way: create an efffect (set) called fire init created 7 persistent creators (one center 3 left 3 right) added all of those into the set and made it random (center one twice for increased chance) the persistent creators then call the launch effect
and of course i need to get the inventory reading stuff done
so probably a trigger...
Unit - Any Unit uses "fire front" at cast (ignore shared abilities) but i dont know where to go from there... i want the trigger to return the item at inventory slot 1 and compare it to a cannon item(acually all cannon types until one is found) (repeat for slots 2 and 3) the other fire ability should check slots 4 5 and 6
but i dont see a proper item trigger to do that
btw: edited my posts, stating what i have done already
Last edited Mar 26, 2013 by sc2aaa -
sc2aaa Regular Shmoe
- Join date
- Mar 16, 2013
- Location
- United States
- Reputation
- 0
- Posts
- 12
- Last login
- May 18, 2013
-
LordDz Regular Shmoe
- Join date
- Mar 14, 2010
- Location
- Sweden
- Reputation
- 1
- Posts
- 15
- Last login
- Apr 23, 2013
Yeah I looked at the trigger editor, doesn't seem to be any function for that.. So your only thing would be to keep track of all items' count with triggers, so that when you purchase an item, you set it's custom value to the default item count of that item.
Then when you use the item, you reduce the custom value of it by 1. Or when you want to merge an item, you take it's custom value and add it to the item being merged with and set the stack count to the custom value..
A bit overly complicated for a simple thing =/
-
sc2aaa Regular Shmoe
- Join date
- Mar 16, 2013
- Location
- United States
- Reputation
- 0
- Posts
- 12
- Last login
- May 18, 2013
well i got the stacking managed www.sc2mapster.com/forums/resources/trigger-libraries/5636-library-item-utility-library/ even with that i had to write a huge workaround, but it helped alot.
now on to making the projectile not affected by terrain :X
i m using an ability similar to kuekens http://www.sc2mapster.com/forums/resources/tutorials/17154-data-colliding-projectiles/ fireball
but when the persistent is created at a position lower than the caster, it starts following the terrain.
i m using the punisher grenades weapons mover. (guidance)
what do i have to change to make the missile just fly straight ahead and never lower its height?
i tried changing the mover to ignore terrain and the missile unit to ignore terrain but neither one of those worked changing the mover to parabolic didnt do the job either, it seemed to worsen the problen, making the missile drop staight down
Last edited Apr 08, 2013 by sc2aaa -
hunkofsteel Regular Shmoe
- Join date
- Apr 19, 2013
- Location
- Singapore
- Reputation
- 0
- Posts
- 1
- Last login
- Apr 23, 2013
I want to create a active ability.
Basically, every 6 units the unit moves deals 30 damage to nearby enemies in a radius of 5 and slowing them by 0.1. The unit itself gains 0.1 MS for every 4 units walked.
- 87 posts
- ← Previous
- 1
- 2
- 3
- 4
- 5

sc2aaa Regular ShmoeI DO know that. Actually i got an effect- instant ability all set up. my problem at the moment is that the caster stops moving if you use it
and for the weapons: would it work, upon activating the "fire front cannons" ability, to load the item in item slot 1 (how can you adress that in triggers?) compare it to a certain item (so basically switch it) until you have found the item it is (so lets say a "basic energy blast cannon") then loading the stacksize of the item (lets say "5" in this case) and then using an ability that launches that projectile(so "launch energy blast cannon, front" and calls that ability once for each stack resulting in 5 energy blasts beeing fired.
i think i wont do the reduced cannonball spread, seems to be far too complicated/impossible :)