Trigger Help

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Trigger Help

Post by ZilvaX »

If its too leaky i could get it in JASS if you tell me how to put it in my map and how to change some of the values like how much pushed back , and if in jass please also give me a Melee and Ranged Version. i like GUI because when someone helps me and can edit it a little if needed for another map.
Image
User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Trigger Help

Post by ZilvaX »

Bump, Hmm has everyone forgotten about my spell/trigger ?
Image
User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Trigger Help

Post by ZilvaX »

Bump, -.- this is the second bump now.
Last edited by ZilvaX on July 8th, 2008, 11:54 pm, edited 1 time in total.
Image
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: Trigger Help

Post by Ozzapoo »

ZilvaX wrote:Bumb, -.- this is the second bumb now.
We've forgotten about you and we don't want to remember you :D
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Trigger Help

Post by ZilvaX »

A Reply!!!!! -.- fine i'll go into a corner and cry .
Image
User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Trigger Help

Post by ZilvaX »

Bump, I think its been over a week now so ill bump again.
Image
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Trigger Help

Post by Arabidnun »

Am I reading this right, You want a custom spell that when activated it knocks back an opponent 100 range and does 100 damage? Is that all?
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: Trigger Help

Post by JJ2197 »

He wants it to move the attacked unit twice the amount of the damage...
I think he just used 100 as an example... as in he would want it to be
more than just that one number...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Trigger Help

Post by Aero »

Sorry, I never check GUI section.

Report this in JASS and I'll do it probably tomorrow.
I'll make a nice, easy to import, customizable JASS system.
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Trigger Help

Post by Arabidnun »

I would like more information kinda...

I was thinking of making a gui trigger that has a % chance of casting when attacking like a critical strike.

I could produce a beta map, if I like what I see....

EDIT: Try these things....
Spoiler:
Custom Flash Strike
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) is in Temp_Group) Equal to True
((Attacking unit) is A Hero) Equal to True
((Attacked unit) is A structure) Not equal to True
Actions
Set Temp_Integer = (Random integer number between 1 and 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Temp_Integer Equal to 1
Then - Actions
Wait 0.10 seconds
Set Temp_Real = (Random real number between 1.00 and 800.00)
Set Temp_Angle = (Angle from (Position of (Attacking unit)) to (Position of (Attacked unit)))
Set Temp_Attacker = (Attacking unit)
Set Temp_Attackie = (Attacked unit)
Set Temp_Point = (Position of (Attacked unit))
Unit - Move Temp_Attackie instantly to (Temp_Point offset by Temp_Real towards Temp_Angle degrees)
Special Effect - Create a special effect attached to the foot of Temp_Attackie using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
Set Temp_Effect = (Last created special effect)
Unit - Cause Temp_Attacker to damage Temp_Attackie, dealing Temp_Real damage of attack type Spells and damage type Normal
Floating Text - Create floating text that reads (Damage: + (String(Temp_Real))) above Temp_Attackie with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set Temp_Text = (Last created floating text)
Wait 0.15 seconds
Special Effect - Destroy (Last created special effect)
Floating Text - Set the velocity of Temp_Text to 50.00 towards 90.00 degrees
Floating Text - Change the fading age of Temp_Text to 5.00 seconds
Floating Text - Change the lifespan of Temp_Text to 5.00 seconds
Wait 2.00 seconds
Floating Text - Destroy (Last created floating text)
Else - Actions
Do nothing
Custom script: call DestroyTextTag( udg_Temp_Text)

That is the trigger, now I just added a unit must have a certain skill to be all fancy ^.^

Add Unit To Unit Group
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Custom Critical Strike
Actions
Unit Group - Add (Learning Hero) to Temp_Group

This is the unit Group Variable, I know this whole thing is not perfectly free of memory leaks as I still am experimenting. If u need a tutorial Map gimme a pm.

Gl Hf, gimme credit its all I ask.