• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Fishing Spot?

Status
Not open for further replies.
Level 15
Joined
Sep 27, 2009
Messages
672
How can i do this:
-When unit casts a fishing skill (based on shockwave(maybe))
-If it's not casted on Fishing Spot 1 or Fishing Spot 2.
-He get's error message:,, You must fish at fishing spot"???

fishing spots are regions :)
-HOW TO DO THIS, please help :goblin_boom: ?? :)
 
  • Fishing Skill Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Shockwave
    • Actions
      • Set fishingskill_pos = (Target point of ability being cast)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (Fishing Spot 1 <gen> contains fishingskill_pos) Equal to False
              • (Fishing Spot 2 <gen> contains fishingskill_pos) Equal to False
        • Then - Actions
          • Quest - Display to (All players) the Hint message: ERROR! You must fis...
        • Else - Actions
      • Custom script: call RemoveLocation(udg_fishingskill_pos)
 
Status
Not open for further replies.
Back
Top