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
Map Help - AmAz I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
Map Help - AmAz I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
Map Help - AmAz I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
Map Help - AmAz I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
Map Help - AmAz I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
Map Help - AmAz I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
Map Help - AmAz 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
Map Help - AmAz I_vote_lcap26%Map Help - AmAz I_vote_rcap
 26% [ 8 ]
Warcraft 3
Map Help - AmAz I_vote_lcap35%Map Help - AmAz I_vote_rcap
 35% [ 11 ]
League of Legends
Map Help - AmAz I_vote_lcap19%Map Help - AmAz I_vote_rcap
 19% [ 6 ]
World of Warcraft
Map Help - AmAz I_vote_lcap0%Map Help - AmAz I_vote_rcap
 0% [ 0 ]
Diablo 2
Map Help - AmAz I_vote_lcap0%Map Help - AmAz I_vote_rcap
 0% [ 0 ]
No games at all
Map Help - AmAz I_vote_lcap10%Map Help - AmAz I_vote_rcap
 10% [ 3 ]
Other game not listed
Map Help - AmAz I_vote_lcap10%Map Help - AmAz I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 Map Help - AmAz

Go down 
3 posters
AuthorMessage
AmAzIn[G]
Commander
Commander
AmAzIn[G]



Map Help - AmAz Empty
PostSubject: Map Help - AmAz   Map Help - AmAz I_icon_minitimeTue Feb 23, 2010 8:23 pm

//***************************************************************************

function CreateRegions takes nothing returns nothing
local weathereffect we

set udg_rect01=Rect(-2848.0,-3488.0,-2592.0,-3232.0)
endfunction

Basically thats a jass function. Its creating a region.

What i dont understand is after deleting 50 some regions, jass helped wont
help me fix what needs to be fixed. I need only around 20 regions created.

The regions that were deleted were regions that blocked bullets from hitting walls,
and grenades from hitting walls. For some reason there still in the game, and
are still working.

I need to reset this trigger so that the only regions created are the ones that
are NOW set, and not the ones that were set previously.

THe problem? The =Rect(-2848.0,-3488.0,-2592.0,-3232.0) i believe this
is using coordinates, in which case i have no idea how to use.

In coordinates i only know of 3 variables you have to enter. This shit has 4.
WTF?
Back to top Go down
nomorholywar
Sergeant
Sergeant




Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeTue Feb 23, 2010 11:28 pm

1. thats creating a rect, not a region.

2. 4 inputs are xmin, ymin, xmax, ymax. why would it take 3? noob..
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeWed Feb 24, 2010 6:22 pm

Rect is the same as region

Well, regions are made up of multiple rects, but they serve the same purpose
The gui uses both, but calls them all regions (in an attempt to be less confusing)

Theres 4 numbers because you are drawing a rectangle

Like i said before, you can just use pre-placed regions like you normally would

If you insist on using the Rect() jass function it works like how normor said

Heres a visual:
Map Help - AmAz E0hg5c

So Rect(-10, -10, 10, 10) would put a region in the center of the map



As for them still working even after you deleted them

Look in the triggers for the grenades and bullets, there may be some rects that are hardcoded into those triggers
Anywhere you see udg_rect##=Rect(##,##,##,##) you can delete it if you want to make sure theres no old regions from the original stuff

And check the variables too, they might be pre-set, but you probably already wouldve checked something like that
Back to top Go down
AmAzIn[G]
Commander
Commander
AmAzIn[G]



Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeWed Feb 24, 2010 8:50 pm

HAH PAT UR TOO LATE I ALREADY FIGURED IT OUT! HAHAHAHAH IN UR FUCKING FACES.

(amazing now realizes how stupid the above comment was and would like to appologize.)
(while still admiting he finally did something on his own.)
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeWed Feb 24, 2010 9:04 pm

I didnt respond the other day cause you said "no one has responded in the past x mins, post now!!"

And now you do that

Im just not even going to try to help you anymore
Most likely youll realize the other thing thats wrong soon and will be posting here again
But im not responding to it
Back to top Go down
nomorholywar
Sergeant
Sergeant




Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeWed Feb 24, 2010 11:39 pm

Pat1487 wrote:
Rect is the same as region
Well, regions are made up of multiple rects, but they serve the same purpose
The gui uses both, but calls them all regions (in an attempt to be less confusing)

Amaz isn't using gui.

Therefore, region =/= rect.

Gui doesnt use both, they use just rect, and call it region.
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeThu Feb 25, 2010 10:19 am

nomorholywar wrote:
Amaz isn't using gui.

Therefore, region =/= rect.

Gui doesnt use both, they use just rect, and call it region.

I know he wasnt using gui, i said that cause he used gui more then jass, has more experience with it, and understands it better

Region does = rect
Regions are made up of multiple rects
They do the same things, and are used for the same things
You could replace a region with a rect or vice versa and the result would be the same

The gui uses both
Sometimes its rect() other times its createregion()
This is only when you create regions with the gui trigger editor

Pre-placed regions are all rects
Regions created using the gui trigger editor are either rect or region
The gui always calls them regions

Theres no Region - Create Region in the gui
But i remember there being a way to create a region using something in the gui
It was there that i remember seeing CreateRegion()
I cant remember what it was though, its been awhile since then
Back to top Go down
nomorholywar
Sergeant
Sergeant




Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeThu Feb 25, 2010 11:07 am

Pat, l o l. come on, now you're just being difficult.

Region in GUI = rect in jass, of course.

But since amaz wants to use jass..

region does not equal rect in jass! they are two separate variable types.. sure you can use them for similar purposes, but they are NOT interchangable variable types.

I was trying to highlight this point to amaz so he doesnt make that mistake
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487



Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitimeThu Feb 25, 2010 4:55 pm

Oh, i didnt think he would make a mistake like that

In fact i didnt even think of a mistake like that being made
Now i see how what i said might cause someone to make a mistake
Back to top Go down
Sponsored content





Map Help - AmAz Empty
PostSubject: Re: Map Help - AmAz   Map Help - AmAz I_icon_minitime

Back to top Go down
 
Map Help - AmAz
Back to top 
Page 1 of 1

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