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

AWNSER THIS TOPIC FAST...

Status
Not open for further replies.
Level 11
Joined
Jul 20, 2004
Messages
2,760
This is a knockback spell. I would give a search in spells section. Anyway, the idea is pretty simple.

You have a repetitive trigger (initially off) which moves the unit (auxiliary trigger). It has repetitive event with no conditions and it moves the unit from the center little by little. I'll give you a hint: Polar Offset.

Control trigger starts the timer, waits a couple of seconds (how much time does it take for the unit to be driven out completely from the area) and then you disable the auxiliary trigger.

~Daelin
 
Level 2
Joined
Nov 27, 2005
Messages
19
lol seh Daelin numa acuma am vazut k la Location itzi scrie Romania...la multzi ani de ziua natzionala...:D

Back to the spell...am cautat la triggers (Actions bineinteles) shi nam gasit nimik cu "Polar offset"
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Please speak in english. It is an english forum so everyone should understand what we speak. Mersi!

As for the spell, Polar Offset is an auxiliary function to replace a point (Move Unit, and replace the Point with Polar Offset). Did you study trigonometry at class? If you did, Polar Offset refers to a point on the trigonometric circle (center being the central point of the circle, radius the radius of the circle and angle the position on the circle). You practically just increase the distance, and leave the same angle and center.

~Daelin
 
Level 2
Joined
Nov 27, 2005
Messages
19
yup it does :D

Pushback Ward
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Pushback ward) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units within (125.00 + (75.00 x (Real((Level of Pushback Ward for (Random unit from (Units of type Nightmare))))))) of (Position of (Picked unit)) matching ((Owner of (Matching unit)) Not equal to (Random player from (All allies of (Owner of (Random unit fr and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 25.00 towards 0.00 degrees)


this is the best i could come up with,the only problem is that wherever the unit is the ward pushes him twoards east (last 5 words) this is what i couldnt find in what to change
 
Level 3
Joined
Oct 21, 2004
Messages
72
I tell everyone the same thing.

WE Unlimited has a move unit to point over time action.
 
Level 2
Joined
Nov 27, 2005
Messages
19
ppl help me out tell me more i wanna learn how to do good spells :))

oh what event "Unit-Generic unit event" do i use for unit is crittical strikeing or bash (eg)
 
Level 7
Joined
May 6, 2005
Messages
390
Sk_aye_Scraper said:
oh what event "Unit-Generic unit event" do i use for unit is crittical strikeing or bash (eg)

Doesn't exist.

But some passive spells are detectable.

Reincarnation is detectable by using this script by Vexorian, and the other day I found a way to detect Evasion, I should release it when I have time.
 
Level 7
Joined
May 6, 2005
Messages
390
Just make an attack detection system or use Vexorian's (too lazy to link, it's at The JASS Vault in either the execution or the systems category). Then the rest should be simple, attack detection is the hard thing.
 
Status
Not open for further replies.
Top