• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[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