• Check out the results of the Techtree Contest #19!
  • 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Special casting system , can you help ?

Status
Not open for further replies.
Level 13
Joined
Mar 14, 2008
Messages
847
Hello everyone , how could I make a casting system where people have to use th required signs to cast a spell . For example , player uses abilities fire + fire + wind and then it automatically casts fire breath (or w/e that pandaren skill is called) xD if u can , help me :)
 
You mean you have 3 Abilities but to cast a spell you have to click 3 of them I different order? And then the Unit will cast a spell that was linked to this combination?
So you would have much more spells then just four! Nice idea

I would make it with math!
Spell 1 = 1
Spell 2 = 10
Spell 3 = 100
When a spell is clicked the trigger starts the there is counted the spells in the next 5 sec. when the score is = 3 then spell 1 was clicked 3 times ; 12 (= spell 1two times spell 2 one time) 111 (spell 3 and spell 2 and spell 1) link the numbers to triggered spells
The last spell I would use as an “go” spell when you have chosen a combination you need the last one to select the target this would clear the trigger again
 
Being slightly more specific will help.

You want him to have some abilities and using them in order casts a spell? or a 3-orb=spell system like in spellcraft?

The more detail, the easier it will be to thinker a system that will fit your needs.
 
It´s like
a spell is clicked of type spell1 then
set custom value of triggering unit to Custom value+x
if spell = spell nr.4 then
check custom value and do action (…) triggering unit to use spell on unit = attacked unit [with spell4)
set custom value = 0

or something like that

sry I don´t know what your idea is so tell us a bit more do you want about 60 spells or 100?
 
Doing it with math... Using powers of two always help! Like Combo 1 = 1 Combo 2 = 2 Combo 3 = 4 etc then to make a spell using each combo, as sir duhd said make a variable integer which would be the sum of numbers ( make them with arrays to define the spell you want ). Like ComboInteger(0) = 7 ( Means you have to use them all ) or ComboInteger(1) = 3 means you have to use combo2 and combo1. But then we have a problem. If you don't use a combo for 3 times then it's ok. If not then try increasing numbers like make Combo 1 start from 1st power of 2 and so on. Using big numbers only make it more complicated. They should only be used when there's no other simple choice.
 
I didnt get much
so you cast a firebolt
cast again
and cast a frost nova
it releases a bonus wind ?
 
I didnt get much
so you cast a firebolt
cast again
and cast a frost nova
it releases a bonus wind ?

nope , you use a spell called fire that does nothing , you use it again , then u use the spell wind that does nothing also and then you press CAST button , and it casts a spell (for example fire+fire+wind+cast=flame breath)


Oh and I want it to be usable whenever a player wants :)
 
plz let me know when the map is ready to beta test i would like to test it sounds funny and difficult so i hope it would be a nice map
 
Status
Not open for further replies.
Back
Top