|
Thread: "Delete object" - the map editor | This thread is pages long: 1 2 · «PREV |
|
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.
|
|
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.
|
|
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!
|
|
|
|