• 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.

Interesting Spell Idea (dont kno if it can work)

Status
Not open for further replies.
Level 3
Joined
Jan 20, 2011
Messages
29
I was thinkin of makin a geomancer type class for my game and was thinking of skills for it when I came up with an interesting thought, Idk if the wc3 editor is capable of this but i wondered if u could cast a spell as the geomancer that checks some sort of terrain code based on what your standing on then do a different effect based on what that code is. Hope that makes sense to ppl, and if any1 knows a way to do this plz enlighten us :p
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
Well, you can check with triggers to see what the terrain is at the position of the casting unit and use If-Then-Elses to determine what does or doesn't happen.

Event - A unit begins casting an ability (or w/e is best, check with a triggerer)
Condition - None
Actions"
-If
~Terrain-type at (position of casting unit) equal to <your terrain choice>
-Then
~< Do these actions/effects >
-Else
~-If
....Terrain-type at (position of casting unit) equal to <another terrain choice>
etc...

You can imbed the if-then-elses in each other or list them all seperately, if done seperately then leave the 'Else' option blank. Do this by using the 'If-Then-Else, Multiple Functions' option at the top of the entire action list.

So, what you'd like to do is possible. Depending on how realistic you terrain, this spell may or may not work like you'd like it to. I.e. - A little spot of terrain under the unit (say, Lordaeron Dirt) could be entirely surround by another terrain (Barrens Grass) and be hidden by the casting unit's model, giving the appearance of the wrong art for the spell. Simple, bland terrains would bypass this problem. If you're just doing an arena then plain terrain should be fine.

You can allow multiple, similar terrain types to cause the same effects for a spell (ex: whenever cast over a Grass Terrain used in your map, the same effect happens. Whenever used over dirt, this effect occurs. etc...). This would allow you to diversify your terrain and help make it more visually appealing. Just make sure you use 'Or' conditions for the triggering.

//\\oo//\\
 
Level 3
Joined
Jan 20, 2011
Messages
29
wow thanx im kinda newer to the wc3 editor an been reading alot of tutorials and you where able to explain that in a very understanderble way in such a short message very nice! would you mind if i asked you for help ion the future if i get stuck on triggering something? def +rep :p
 
Level 14
Joined
Dec 12, 2009
Messages
1,027
I'm not really a triggerer. If you need help with triggers or the WE then your best bet is to post in the respective help forums. It may take up to a couple days to get useful responses, but there are 2-3 active users 'patroling' those forums.

You can ask for help if you want to, but I can't gaurentee that I'll be any real use. If you want to get ideas on triggering, check out some maps or spells to see what others have done.

Glad I could help, but this thread would have done better in the World Editor Help Zone as it inquires as to the functions of the WE and doesn't really request ideas.

//\\oo//\\
 
Status
Not open for further replies.
Top