 |
|
Pablostuka
|
 |
of somewhere near Barcelona
Jan 2003 time: 06:16
|
|
Incorrect:
@THEN
CHANGETERRAIN
TERRAINTYPE=5
MAPRECT=17,17,17,17,17,17,17,17
@ENDIF
Correct
@THEN
CHANGETERRAIN
TERRAINTYPE=5
MAPRECT
17,17,17,17,17,17,17,17
@ENDIF
|
|
|  |
 |
|
Exile
|
 |
of the Benighted Realms
Sep 2000 time: 23:16
|
|
Well, I tried that and it didn't work either.
I'm about to give up on the artillery and just remove them.
Everytime I try to make a changeterrain event, it gives me a events.txt error when I load it.
This is getting ridiculous. I only need to do 1 damn thing, and the program just isn't doing what it's supposed to do.

Here is the event;
@IF
UNITKILLED
unit=A Battery
attacker=Russians
defender=Germans
@THEN
CHANGETERRAIN
TERRAINTYPE=5
MAPRECT
17,17,17,17,17,17,17,17
@ENDIF
|
|
|  |
 |
|
Cyrion
|
 |
Caught somewhere in time
Jan 2002 time: 06:16
|
|
quote: Originally posted by Exile
Well, I tried that and it didn't work either.
I'm about to give up on the artillery and just remove them.
Everytime I try to make a changeterrain event, it gives me a events.txt error when I load it.
This is getting ridiculous. I only need to do 1 damn thing, and the program just isn't doing what it's supposed to do.

Here is the event;
@IF
UNITKILLED
unit=A Battery
attacker=Russians
defender=Germans
@THEN
CHANGETERRAIN
TERRAINTYPE=5
MAPRECT
17,17,17,17,17,17,17,17
@ENDIF |
Sorry if I'm being obvious, but I just saw in the other thread that I sometimes should be! 
Are your sure of the spelling of "A Battery" (Isn't it "A. Battery"?) , "Germans" and "Russians"??
And isn't your event file already full?
|
|
|  |
 |
|
AGRICOLA
|
|
Canadian bush & Florida
Feb 2003 time: 00:16
|
|
You may want to try the following logical sequence.
1. Delete 4-5 events or disable them with semi-colons. If that works, then you have a size problem.
2. If that doesn't work, simplify the problem event to
@IF
TURN
turn=XXXXXX
@THEN
CHANGETERRAIN
TERRAINTYPE=5
MAPRECT
17,17,17,17,17,17,17,17
@ENDIF
and fill in XXXXXX. If it works, that'll tell you that the problem is in the first part of the @IF.
3. If that doesn't work, I have no more ideas.
|
|
|  |
All times are GMT. The time now is 05:16. Apolyton Time is 00:16. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|