Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
A few words
First of all, i wanna say hello . And comes after is thank you
All hivers, an actual home for me to get started on advances with helps, spells and ideas Introduce:
As you have know what pet system is
It's a system that make a unit (pet) stay close to its master (owner) after some actions from the owner. Ex: Casting ability, taming, summoning etc..
But, why you should use this?
Hashtables - should be MUI
Easy-implement
Easy-configurable
GUI
Leakless - as far as i know
Do not support levels
This means even the abilities have its own levels, the implement won't make changes on levels, just giving the same unit type, same pet abilities or so
To solve this cons, there's a good solution: Combine with an EXP system on pets will give them levels, exp and abilities depend all on you! Giving your pets even more advances. Example: Click
For people who wondering about how the heck this system work as
well as how to load correct keys from hashtable. Read this please
Number | of | Type | Output
1 | SP_ID2 | Real | Distance to Owner
2 | SP_ID2 | Unit | Owner
3 | SP_ID2 | Real | SP_DistancetoOwner[SP_NumberofSpells]
4 | SP_ID2 | Boolean | Can the pet take damage
1 | SP_ID | Unit | Pet of unit which has SP_ID
Just load the correct values like the board above and you will be able
to make things right
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
14:14, 28th Aug 2012
Magtheridon96: Instead of having the add pets thing done manually by the user in terms of the indexing, you should allow the user to do stuff like this:
Set ability =...
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
14:14, 28th Aug 2012
Magtheridon96: Instead of having the add pets thing done manually by the user in terms of the indexing, you should allow the user to do stuff like this:
Set ability = Summon Hawk
...
Set Range = 600.00
Trigger - Execute Add Pet <gen> (ignoring conditions)
The Add Pet trigger would increase the number of summoning spells by one and set the variables the user just set into your arrays.
It's much more convenient, and encapsulates everything.
first,0.01 is very fast,make it 0.03
second,if you want to make your summoned unit unselectable,you could use this:
[jass=code]call UnitAddAbility(udg_Summoned,Aloc)[/code]
Aloc is Locust.
Also,this spell is just like Locust Swarm (i think?)
@Radamantus:
Thank you for your feedback and suggestion
But what would goes wrong if i use the GUI action: Add ability to unit?
Not saying it's bad your way but i wanna know more details about it thanks
And actually, locust swarm will not like this at all. It has its multi-usage
@Mag:
Thanks for pointing it out. I'm trying to work out on it
I thought it wouldn't be too "manually". But anyway, i'll try to improve it your way. But one question please:
What if a rare situation happens: They got registered at a same time ? I said it's "rare"
So i thought it would be "safer" in plusing array up and things like this
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.