Clan TMMM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The official site of Clan TMMM
 
HomeHomeSearchLatest imagesRegisterLog in


Latest topics
» Kevkevqaz is back
My sliding trigger doesnt work I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
My sliding trigger doesnt work I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
My sliding trigger doesnt work I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
My sliding trigger doesnt work I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
My sliding trigger doesnt work I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
My sliding trigger doesnt work I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
My sliding trigger doesnt work I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
My sliding trigger doesnt work I_vote_lcap26%My sliding trigger doesnt work I_vote_rcap
 26% [ 8 ]
Warcraft 3
My sliding trigger doesnt work I_vote_lcap35%My sliding trigger doesnt work I_vote_rcap
 35% [ 11 ]
League of Legends
My sliding trigger doesnt work I_vote_lcap19%My sliding trigger doesnt work I_vote_rcap
 19% [ 6 ]
World of Warcraft
My sliding trigger doesnt work I_vote_lcap0%My sliding trigger doesnt work I_vote_rcap
 0% [ 0 ]
Diablo 2
My sliding trigger doesnt work I_vote_lcap0%My sliding trigger doesnt work I_vote_rcap
 0% [ 0 ]
No games at all
My sliding trigger doesnt work I_vote_lcap10%My sliding trigger doesnt work I_vote_rcap
 10% [ 3 ]
Other game not listed
My sliding trigger doesnt work I_vote_lcap10%My sliding trigger doesnt work I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 My sliding trigger doesnt work

Go down 
5 posters
AuthorMessage
13Phoenix
Corporal
Corporal




My sliding trigger doesnt work Empty
PostSubject: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeThu Aug 20, 2009 10:24 am

I need help with my sliding triggers they just dont want to work.
Here they are...

Slide Turn

Event-
Unit-A unit is issued an order targeting a point
Conditions
Actions-If (all conditions are true) then do (then actions) else do (else actions
If-Conditions
Conditions-(Terrian type at(Position of (Triggering unit))) Equal to Northernd - Ice
Conditions- (Unit-type of (Triggering unit) Equal to Demon Hunter
Then-Actions
Actions-Set SlidePosition = (Target point of issued order)
Actions- Unit - Make (Triggering unit) face SlidePosition over 0 seconds
Actions Custom script: call RemoveLocation(udg_SlidePosition)
Else-Actions
Actions-Set SlidePosition = (Target point of issued order)
Actions-Make (Triggering unit) face SlidePosition over 1 second
Actions-Custom script: call RemoveLocation(udg_SlidePosition)

Slide All

Event
Time - Every .02 seconds of the game
Conditions
Actions
Unit Group-Pick every unit in tempunitgroup and do(actions)
Loop-Actions
Action-Set SldiePosition = (Postion of (Picked unit))
Actions-If (all conditions are true) then do (then actions) else do (else actions
If conditions
Or-Any(Conditions are true
Conditions-(Terrain type at SlidePosition) Equal to Northernd - Ice
Conditions-(Unit-ype of (Triggering unit) Equal to Demon Hunter
(Picked unit) is alive Equal to True
Then Actions
Actions-Unit Group - Add (Picked unit) to tempunitgroup
Actions Set SlidePosition = (Position of (Picked unit))
If (all conditions are true) then do (then actions) else do (else actions
Else Actions-
Actions-Set MaxSpeed[(Player Number of (Owner of (Picked unit)))] = 9
Actions-Set SlidePoint = (SlidePosition offset by Speed[Player number of (Owner of (Picked unit)))] towards (Facing of (Picked unit)) degrees)
Actions-Unit - Move (Picked unit) instandtly to SlidePoint
Custom script: call removelocation(udg_SlidePoint)
Custom Script: Call RemoveLocation(udg_SlidePosition)
Else-
Do nothing
Custom script: call removeLocation(udg_SlidePosition




I may have missspelled or misstyped some of this so sry...
can you plz tell me what is wrong with it.
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeThu Aug 20, 2009 3:18 pm

13Phoenix wrote:

I may have missspelled or misstyped some of this so sry...
can you plz tell me what is wrong with it.

You know you can copy as text and paste it here right?

Slide Turn
Event-
Unit-A unit is issued an order targeting a point
Conditions-(Unit-type of (Triggering unit) Equal to Demon Hunter
Actions-
Actions-Set SlidePosition = (Target point of issued order)
Actions- Unit - Make (Triggering unit) face SlidePosition over 0 seconds
Actions Custom script: call RemoveLocation(udg_SlidePosition)

Theres no reason for the if statement with conditions and an else that you had


13Phoenix wrote:
Slide All
Event
Time - Every .02 seconds of the game
Conditions
Actions
Unit Group-Pick every unit in tempunitgroup and do(actions)
Loop-Actions
Action-Set SldiePosition = (Postion of (Picked unit))
Actions-If (all conditions are true) then do (then actions) else do (else actions
If conditions
Or-Any(Conditions are true
Conditions-(Terrain type at SlidePosition) Equal to Northernd - Ice
Conditions-(Unit-ype of (Triggering unit) Equal to Demon Hunter
(Picked unit) is alive Equal to True
Then Actions
Actions-Unit Group - Add (Picked unit) to tempunitgroup
Actions Set SlidePosition = (Position of (Picked unit))
If (all conditions are true) then do (then actions) else do (else actions
Else Actions-

Actions-Set MaxSpeed[(Player Number of (Owner of (Picked unit)))] = 9
Actions-Set SlidePoint = (SlidePosition offset by Speed[Player number of (Owner of (Picked unit)))] towards (Facing of (Picked unit)) degrees)
Actions-Unit - Move (Picked unit) instandtly to SlidePoint
Custom script: call removelocation(udg_SlidePoint)
Custom Script: Call RemoveLocation(udg_SlidePosition)
Else-
Do nothing
Custom script: call removeLocation(udg_SlidePosition


You cant add units to the unit group that your picking units from to build the unit group that you pick units from, your using a unit group that has no units in it to start with, also, you shouldnt use unit groups, they suck
There is no triggering unit when your event doesnt use a unit
Several things are wrong here, 1. your setting a variable every .02 seconds when theres no reason to since the varible never changes, 2. Your not even using it in your speed, if you want to set a max speed just add a check to where ever your changing the speed, for if Speed[] gets greater then 9 stop adding to speed
You dont need any of this, and never use Do nothing, theres no point
This should be And

And you can combine slideposition and slidepoint, you dont need 2 varibles for it
Back to top Go down
X.x-D.a.r.K-x.X
Sergeant
Sergeant
X.x-D.a.r.K-x.X



My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeThu Aug 20, 2009 10:24 pm

13Phoenix: pat, i still need someone to teach me how to make ice :'(
X.x-D.a.r.K-x.X: freeze water

LOLOL :p
Back to top Go down
Achilles.42
Commander
Commander
Achilles.42



My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeFri Aug 28, 2009 7:21 pm

i was about to tell 13 what was wrong but then i was like "wait mby some1 already did, nah no point in checking they probably didn't give it a very good response any way" so i started looking and finding what was wrong, but then i was like "waaaaaaiiiiittttt what if pat responded? hes always super careful" so i check: "YUP theres pat all color coded and every thing"
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeSat Aug 29, 2009 1:17 am

You making fun of my color coding?!

I actually couldnt think of any other way to explain it

You could add to what i said, since i never told him how to fix the things that are wrong
Back to top Go down
marksoccer
Commander
Commander
marksoccer



My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeSat Aug 29, 2009 1:24 am

no hes just saying u have no life thats all Razz
Back to top Go down
Achilles.42
Commander
Commander
Achilles.42



My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitimeSat Aug 29, 2009 4:12 am

well yes mark but dont say that, it might hurt his feelings, we've all seen the pic of him in the abuse forum, hormone problems are a bitch.
Back to top Go down
Sponsored content





My sliding trigger doesnt work Empty
PostSubject: Re: My sliding trigger doesnt work   My sliding trigger doesnt work I_icon_minitime

Back to top Go down
 
My sliding trigger doesnt work
Back to top 
Page 1 of 1
 Similar topics
-
» Backwards Sliding Trigger
» The Ultimate Sliding System
» Trigger Leaks
» Trigger Help!
» ok Um -cam trigger

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: