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

A permanently ethernal unit

Status
Not open for further replies.
Level 2
Joined
Jul 24, 2008
Messages
16
Ahoy,

Ok, so for my map I want to have a unit that is a complete spell caster, no physical attack. BUT I want it to be permanently ethernal (Meaning it can't be attacked using physical attacks, only spells, and can also only cast spells). Is there someway I can do this? (Preferable not using triggers and such)

Thanks in advance!
(Any ideas greatly appreciated!):thumbs_up:

EDIT:
Ooops, Sorry, I mean Banished as the ability / status name!

Do NOT double-post. Use the Edit button.
~Posts Merged
 
Last edited by a moderator:
will be hard to do it comlpetely without triggers, but its a really easy one

  • Events
    • Unit - A Unit enters playable maparea
  • Conditions
    • triggering Unit is equal to your caster
  • Actions
    • Unit - add Ability astralform to triggering Unit
    • Unit - order triggering unit to Orc spiritwalker - astralform
    • Wait 1 sec
    • Unit - remove Ability astralform from triggering Unit
not sure if i translated the ability correctly, i guess not, but i think you know whoch one i mean
 
  • Trigger
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Footmen
    • Actions
      • Unit - Add Corporeal Form to (Triggering unit)
      • Unit - Order (Triggering unit) to Orc Spirit Walker - Ethereal Form
      • Wait 1.00 seconds
      • Unit - Remove Corporeal Form from (Triggering unit)
cleaned it up, here you go
 
Thanks guys

This really helps, cause without it the unit would be pretty weak.
Oh and I have just one more question, I made a custom ability based off of the Stormbolt. (Or whatever one when the guy throws the hammer) Anyways, I can't seem to get the "Stun" option off of it. Actually, it doesn't even have a value / effect box! So is there some way I can fix this?

(PS : People here seem to be very "Trigger Happy"...See what I did there?):thumbs_up:
 
For storm bolt: there is a field(s) named Duration - Hero and Duration - Unit, for Hero is stun duration for hero, Unit is stun duration for a normal unit, its not recommended to use "0", try "0.01", because sometimes 0 lasts ~5 seconds for a reason that i dotn know.
 
Ok thanks man. Do you also know how to make it auto cast?

EDIT: Oh and the ethernal form thing isn't working. I followed exactly what you guys said but no dice.
 
  • etheral unit
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to YourUnit
    • Actions
      • Unit - Create 1 dummy unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
      • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Banish to (Last created unit)
      • Unit - Order (Last created unit) to Human Blood Mage - Banish (Triggering unit)
i suggest you read a tutorial on how to use dummy units, they work wonders for maps

and p.s. this trigger leaks, you should read up and that too and fix it
 
make a unit which is invisible, invulnerable and maybe has the locust ability, give it a modified banish ability with unlimited duration

  • Events
    • Unit - A Unit enters playable map area
  • Conditions
    • triggering unit is equal to your Unit
  • Actions
    • Unit - create 1 dummy Unit at position of triggering Unit
    • set dummy = last created Unit
    • Unit - order dummy to Bloodmage - banish
    • Wait 1 second
    • Unit - remove dummy from the game
    • set dummy = no Unit
this leaks a region

Edit: use prisonlove's version, expiration timer is better, forgot about that..., but it still leaks a region
 
make a unit which is invisible, invulnerable and maybe has the locust ability, give it a modified banish ability with unlimited duration

  • Events
    • Unit - A Unit enters playable map area
  • Conditions
    • triggering unit is equal to your Unit
  • Actions
    • Unit - create 1 dummy Unit at position of triggering Unit
    • set dummy = last created Unit
    • Unit - order dummy to Bloodmage - banish
    • Wait 1 second
    • Unit - remove dummy from the game
    • set dummy = no Unit
this leaks a region

Edit: use prisonlove's version, expiration timer is better, forgot about that..., but it still leaks a region


this can be overwritten if more than one unit enters at the same time, i suggest you use my method^^ waits are deadly.
 
Greatly appreciated guys, thank you! :thumbs_up:

...Now to find out what a leak is...*Moves to Newbtown*

(Sorry for being such a newb, I was never really good with triggers...oh well)
 
Thanks prison, now I can FINALLY finish this unit!:thumbs_up:

*Cough* Rep'd *Cough*

EDIT:
Goddamn it this is pissing me off....It STILL does not work...

Ethernal
Events
Unit - A unit enters (Playable map area)
Conditions
(Unit-type of (Entering unit)) Equal to Ethernal Spirit
Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Banish to (Last created unit)
Unit - Order (Last created unit) to Human Blood Mage - Banish (Triggering unit)

Thats my code...Please halp.

EDIT EDIT:

Problem Solved. Close the thread now.
 
Last edited:
Be sure of that thing:
[RAINBOW]-The banish ability for the unit cost NO MANA[/RAINBOW]
---
P.S.
I have removed leak from the trigger
  • Events
    • Unit - A unit enters (Playable map area)
  • Conditions
    • (Unit-type of (Entering unit)) Equal to Ethernal Spirit
  • Actions
    • Set Loc(the variable name you want, its a "point" variable) = (Position of (Entering unit))
    • Unit - Create 1 Dummy for (Owner of (Entering unit)) at Loc facing Default building facing degrees
    • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
    • Unit - Add Banish to (Last created unit)
    • Unit - Order (Last created unit) to Human Blood Mage - Banish (Entering unit)
    • Custom script: call RemoveLocation( udg_Loc )
More information about the leak : Click Here
 
Status
Not open for further replies.
Back
Top