Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 4 - Lands of Axeoth > Thread: "Delete object" - the map editor
Thread: "Delete object" - the map editor This thread is 2 pages long: 1 2 · «PREV
Ritcha
Ritcha


Hired Hero
posted February 24, 2010 06:53 PM

Quote:
Quote:
This thread should be renamed "Ritcha's Map Editor Questions Thread".

New problem, actually the exactly same as the last one, but somehow the Editor must be messing it all up...

Now, I want the purple player to lose after 2months, when the orange player has been defeated. Orange player is nothing but a little army quarding a prison.

I tried to do like this:


Orange Army propertiers:

Runs no matter which player it is (works with my town like that).

Triggerable condition:

What type of action do you  wish to create?: Set Numeric Valuble:
Enter variable name: Barbarian_Lose
New value: [Current Day]

Done.


Continous event:

Runs no matter which player it is (the same with my town, it works) -have tried to scratch "Only During Owners Turn"
What type of action do you wich to create?: Conditional action

If:
Orange player is eliminated AND [current day] EQUALS 'Barbarian_Lose' + 56

Then:
Display message
Purple Player Loses (chose "LOSE")

Done.


Is it not possible? I tried to do it with the town, add the lose with the message - and there it worked. I am confuuuuuused....!

Last thing, before anyone tries to explain to me - is it possible to delete a "lose"? For example, now I want to make purple player lose within those two months, but only if I can delete that lose, if they defeat red player within those two months. I thought it was possible, but after looking a little at the scripts I have come to doubt it...

Eh...I'm not sure whether the events you used was under Army properties ---> the standard events ---> defeated, then set numeric valuble, and balabala... if it is I can't figure it out, if not, try it. Because the orange just have one army, that should be easiest way.
And the second question...eh.....I think used the "Remove script" may reach the effect you want.


No, I didn't use the standard event but chose trigg. and cont. events under army propertiers instead, like in the town.

But I just tried to change and use the defeated instead - didn't work either.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Gauldoth_IV
Gauldoth_IV


Adventuring Hero
nobody
posted February 25, 2010 02:33 AM

Quote:
Quote:
Quote:
This thread should be renamed "Ritcha's Map Editor Questions Thread".

New problem, actually the exactly same as the last one, but somehow the Editor must be messing it all up...

Now, I want the purple player to lose after 2months, when the orange player has been defeated. Orange player is nothing but a little army quarding a prison.

I tried to do like this:


Orange Army propertiers:

Runs no matter which player it is (works with my town like that).

Triggerable condition:

What type of action do you  wish to create?: Set Numeric Valuble:
Enter variable name: Barbarian_Lose
New value: [Current Day]

Done.


Continous event:

Runs no matter which player it is (the same with my town, it works) -have tried to scratch "Only During Owners Turn"
What type of action do you wich to create?: Conditional action

If:
Orange player is eliminated AND [current day] EQUALS 'Barbarian_Lose' + 56

Then:
Display message
Purple Player Loses (chose "LOSE")

Done.


Is it not possible? I tried to do it with the town, add the lose with the message - and there it worked. I am confuuuuuused....!

Last thing, before anyone tries to explain to me - is it possible to delete a "lose"? For example, now I want to make purple player lose within those two months, but only if I can delete that lose, if they defeat red player within those two months. I thought it was possible, but after looking a little at the scripts I have come to doubt it...

Eh...I'm not sure whether the events you used was under Army properties ---> the standard events ---> defeated, then set numeric valuble, and balabala... if it is I can't figure it out, if not, try it. Because the orange just have one army, that should be easiest way.
And the second question...eh.....I think used the "Remove script" may reach the effect you want.


No, I didn't use the standard event but chose trigg. and cont. events under army propertiers instead, like in the town.

But I just tried to change and use the defeated instead - didn't work either.

Eh... I wondering is the continuous events which make purple player lose under the map properties? If not may be this is the point.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Ritcha
Ritcha


Hired Hero
posted February 25, 2010 05:09 PM

Quote:
Quote:
Quote:
Quote:
This thread should be renamed "Ritcha's Map Editor Questions Thread".

New problem, actually the exactly same as the last one, but somehow the Editor must be messing it all up...

Now, I want the purple player to lose after 2months, when the orange player has been defeated. Orange player is nothing but a little army quarding a prison.

I tried to do like this:


Orange Army propertiers:

Runs no matter which player it is (works with my town like that).

Triggerable condition:

What type of action do you  wish to create?: Set Numeric Valuble:
Enter variable name: Barbarian_Lose
New value: [Current Day]

Done.


Continous event:

Runs no matter which player it is (the same with my town, it works) -have tried to scratch "Only During Owners Turn"
What type of action do you wich to create?: Conditional action

If:
Orange player is eliminated AND [current day] EQUALS 'Barbarian_Lose' + 56

Then:
Display message
Purple Player Loses (chose "LOSE")

Done.


Is it not possible? I tried to do it with the town, add the lose with the message - and there it worked. I am confuuuuuused....!

Last thing, before anyone tries to explain to me - is it possible to delete a "lose"? For example, now I want to make purple player lose within those two months, but only if I can delete that lose, if they defeat red player within those two months. I thought it was possible, but after looking a little at the scripts I have come to doubt it...

Eh...I'm not sure whether the events you used was under Army properties ---> the standard events ---> defeated, then set numeric valuble, and balabala... if it is I can't figure it out, if not, try it. Because the orange just have one army, that should be easiest way.
And the second question...eh.....I think used the "Remove script" may reach the effect you want.


No, I didn't use the standard event but chose trigg. and cont. events under army propertiers instead, like in the town.

But I just tried to change and use the defeated instead - didn't work either.

Eh... I wondering is the continuous events which make purple player lose under the map properties? If not may be this is the point.


Thank you so much again!

I just didn't think of that - I could make it work "my way" with the town, but not with the orange army, haha - didn't ever think that it might help that way. But well...

I did as you said! A triggerable event in the orange army and the a continous in the map propertiers.

Then I made, in the continous:

Conditional action

If
Current day EQUALS Barbarian_Lose + 56

Then
Conditional action
If
not Red player is eliminated

Then
SEQUENCE
Display message
Purple player lose


It worked! Wee!

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0395 seconds