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

[Spell] Please need help for spells requirements!

Status
Not open for further replies.
Level 2
Joined
Jun 27, 2016
Messages
6
Hi guys!
6 month ago I have start make a map, now i have to make the version number 8 and in this version i want add some ''special'' ability....my map is like as LTA (Lordaeron The Aftermath) and in that game i have see some spells that require to be near a point to be casted.

Example:
The ability is ''Restore'', in map there is the Sunwell. ''Restore'' ability can cast also near to sunwell.

How can i make this? If is possible not in JASS language, I'm not good with it.

thanks in advance
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Put a requirement on the spell in the OE. Make it require a unit called something like, "Being close to Sunwell". This way when they hover it will say Requires being close to sunwell.

Then detect when your unit is close enough to the sunwell and create the dummy for that player. When they go away kill that dummy.
 
Status
Not open for further replies.
Top