Map design - TRIGGERS (eg. if the hero dies)

User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by TheBluePhoenix »

Can someone help me to make a trigger which places a block of 5x5 legionaries with a centurion in middle, surrounded by a horizontal file of heavy knights at upper side and a vertical line of spartans at the right side of the legionary block?
Just guide me i will do the rest
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by COOLguy »

I tried recording one the way you suggested. The quality is AWFUL :x but maybe it'll do for the purpose. :P
Thanks!
Josh
User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by TheBluePhoenix »

Thanks . I see a email. I will see it and let you know
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all

User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by TheBluePhoenix »

hey dev, i also wanted you to make the unit select list of the trigger in alphabetical order. It is haywire at present
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by COOLguy »

TheBluePhoenix wrote:hey dev, i also wanted you to make the unit select list of the trigger in alphabetical order. It is haywire at present


lol that is for sure. Actually it would be better if the unitType selection for the trigger editor was like the unit production menus.
Thanks!
Josh
User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by TheBluePhoenix »

Hmmm possibly that is better. Best : it has only icons of units like in the tcs and structures
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by COOLguy »

That is what I was talking about :)
Thanks!
Josh
User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by TheBluePhoenix »

TheBluePhoenix wrote:Can someone help me to make a trigger which places a block of 5x5 legionaries with a centurion in middle, surrounded by a horizontal file of heavy knights at upper side and a vertical line of spartans at the right side of the legionary block?
Just guide me i will do the rest
Cool guy i was talking for a video on this one
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all

User avatar
balint
Posts: 1268
Joined: Mon Apr 28, 2014 6:38 pm
Location: Hungary

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by balint »

I can help you only with a guide, because I cant record on my phone (I have no root)
What I can think of is there is a trigger which creates units at react area or something called like that. Woth that you select the 5*5 are you want to place the legionaries by adding the top left and bottom right tile of the square in the area x,y in the trigger editor. To the number you write in 25, because thaz much legionaries will fill that area. Agter that make a deleteobj in area trigger where you add to delete the legionarie in the middle of the square. (You need to set both coords to the location of tjat legionarie.) Then you can add the centurion to that tile.

The placing of the other units can be done with the create units at react area trigger to. Just calculate out how much unit dills that area you are filling up.

Sorry for misspelling. It's hard to write with a lagging keyboard :(
This is Hungary and winter is coming.
User avatar
patroid
Posts: 1202
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by patroid »

Edit: first place the centurion and afterwards the legionaires caus
Those units dont ovrrwrite others. Then u dont hav to use the delete trigger.

Patroid
User avatar
patroid
Posts: 1202
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by patroid »

Edit: first place the centurion and afterwards the legionaires caus
Those units dont ovrrwrite others. Then u dont hav to use the delete trigger.

Patroid
User avatar
balint
Posts: 1268
Joined: Mon Apr 28, 2014 6:38 pm
Location: Hungary

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by balint »

That's true :) Thank you Patroid
This is Hungary and winter is coming.
User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by COOLguy »

Sorry, it took a little longer than I thought it would. Daniel and I uploaded a basic tutorial video: https://youtu.be/yoNreukGEX0

Please let me know your thoughts! :) I think it's pretty good. ;)
Thanks!
Josh
User avatar
TheBluePhoenix
Posts: 1498
Joined: Thu Jul 30, 2015 5:09 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by TheBluePhoenix »

Pretty good??? Its just awesome!!!!!!
BEWARE!!!!The long lost empire of phoenicia is rising- The world is but just near the golden age,wherein men played and frolicked,without any worries at all

ejm29
Posts: 689
Joined: Sat Nov 01, 2014 6:03 pm
Location: United Kingdom

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by ejm29 »

+1 Its a great video Coolguy!
(this might be my new favorite YouTube channel!) :D
"I don't care who I have to step on on my way down."
User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by COOLguy »

Thanks guys! :)
Thanks!
Josh
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

Hardeep wrote:How can I make it so the unit I apply a obj change ____ become a negative value? I only get positive.
Anyone know? I could use some insight
There never was much hope... just a fool's hope
User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by COOLguy »

I don't know. :) I'll ask Daniel.
Thanks!
Josh
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Stratego (dev) »

Mapeditor: this was a bug that you was not able to put in negative values.
it is fixed up on server in 10 minutes.
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

Daniel (the dev) wrote:Mapeditor: this was a bug that you was not able to put in negative values.
it is fixed up on server in 10 minutes.
All these years... :cry: after emails and posts... AND IT WAS A BUG THAT COULD BE FIXED WITHIN 10 MINUTES!
GOSHDARNET DANIEL :cry:
Ive been requesting this since the Moria map came out!
There never was much hope... just a fool's hope
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

Also i noticed when using change obj hp it did not work at all, absolutely zero change
There never was much hope... just a fool's hope
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

And i feel that there should be a trigger for change obj. Conversion resistance for campaign heroes going up against enemy preists, b/c it would suck having to fight against the converted hero knowing full well that you will lose even IF you triumph.
Maybe even conversion range
There never was much hope... just a fool's hope
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

What happens, i wonder, if two trigger deactivate triggers would be targeted at the same trigger, but be in differnt triggers themselves(not under same cond.)
There never was much hope... just a fool's hope
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Stratego (dev) »

Hardeep wrote:
Daniel (the dev) wrote:Mapeditor: this was a bug that you was not able to put in negative values.
it is fixed up on server in 10 minutes.
All these years... :cry: after emails and posts... AND IT WAS A BUG THAT COULD BE FIXED WITHIN 10 MINUTES!
GOSHDARNET DANIEL :cry:
Ive been requesting this since the Moria map came out!
oh, sorry to hear that, i must have misunderstand something or just left an email unprocessed (i have tons of them)
- when did u reported me this? can u resend me the email or show the forum post? (maybe that day there are more unprocessed email so i would check)

(and it was not 10 minutes, but about 40 minutes :) )
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Stratego (dev) »

Hardeep wrote:Also i noticed when using change obj hp it did not work at all, absolutely zero change
you mean
a) you still can not give negative values,
b) or despite you give value it will not change the unit hp on trigger execution?
if the "b", please put a showmessage on the trigger event, sou you can be sure it is executed, and tell me if still there is problem.
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

Daniel (the dev) wrote:
Hardeep wrote:Also i noticed when using change obj hp it did not work at all, absolutely zero change
you mean
a) you still can not give negative values,
b) or despite you give value it will not change the unit hp on trigger execution?
if the "b", please put a showmessage on the trigger event, sou you can be sure it is executed, and tell me if still there is problem.
B
What do you mean by showmessage, just add a dialog effect that resides in the same trigger or what
There never was much hope... just a fool's hope
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Stratego (dev) »

showmessage: message toast or dialog.
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

Daniel (the dev) wrote:showmessage: message toast or dialog.
Im sure the trigger was executed, because all the changes to actions and attack worked and they were situated with the obj change health trigger effect, the actions and attack changed but no hp
There never was much hope... just a fool's hope
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Stratego (dev) »

you have not answered to this: "you still can not give negative values?"
but i presume you can, but with no effect at the end.
User avatar
Hardeep
Posts: 1121
Joined: Mon May 05, 2014 11:06 pm
Location: Isengard, middle earth

Re: Map design - TRIGGERS (eg. if the hero dies)

Post by Hardeep »

Daniel (the dev) wrote:you have not answered to this: "you still can not give negative values?"
but i presume you can, but with no effect at the end.
I dont understand... i see the - symbol if thats what you mean. But do you mean it specifically for the obj change hp? Id imagine it'd do nothing since the increase(+) does nothing, do you want me to try?
There never was much hope... just a fool's hope
Post Reply

Return to “Map Design”