Thread Tools
Old February 18, 2000, 19:55   #1
Hendrik the Great
Prince
 
Local Time: 06:53
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Good old Germany!
Posts: 743
What's wrong here?
I'm having this nice event about captured Caravans. When someone captures one the person will get money and the one who looses one will loose money. Simple isn't it?

However, everything works fine in the first turn. But then it somehow does not seem to work any more.

Here is the event:

@IF
UNITKILLED
unit=Caravan
attacker=anybody
defender=anybody
@THEN
TEXT
NEWS: Caravans attacked! Attackers rejoice with the riches captured!
ENDTEXT
CHANGEMONEY
receiver=triggerattacker
amount=100
@ENDIF

@IF
UNITKILLED
unit=Caravan
attacker=anybody
defender=anybody
@THEN
CHANGEMONEY
receiver=triggerdefender
amount=-100
@ENDIF

I can't see that something should be wrong with it. No "JustOnce" lines, no nothing.

So, any ideas?

P.S. I just noticed that it does only trigger once per turn. So I can attack one caravan and I will get money but not with the second, if I attack one.
The treasury seems to have no influence on this.
[This message has been edited by Hendrik the Great (edited February 18, 2000).]
Hendrik the Great is offline  
Old February 18, 2000, 20:38   #2
Panda
Prince
 
Local Time: 05:53
Local Date: October 31, 2010
Join Date: Dec 1969
Location: Europe
Posts: 744
There is a major bug using the lines:
attacker=anybody
defender=anybody

and the triggerattacker/triggerdefender


Basically the first tribe to trigger the event is then considered by the game to be a tribe called "anybody" and if any other tribe kills a caravan the event will not work. I think the problem might also extend to other events where the anybody parameter is used. You might want to play around but I can only recommend that you duplicate the event for each tribe. Annoying, I know.
Panda is offline  
Old February 19, 2000, 05:28   #3
Hendrik the Great
Prince
 
Local Time: 06:53
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Good old Germany!
Posts: 743
Duplicating it for every tribe? I mean I could do that but my events file is kind of crowded by now.

Any other solutions? Other than starting a second events file...
Hendrik the Great is offline  
Old February 19, 2000, 06:34   #4
Stefan Härtel
Civilization II Democracy Game: ExodusScenario League / Civ2-Creation
King
 
Stefan Härtel's Avatar
 
Local Time: 06:53
Local Date: October 31, 2010
Join Date: Jul 1999
Location: Some cold place
Posts: 2,336
Funny, I had the same problem with my Camps and temples in "Pharaoh"

Think seriously. Who exactly will and should build caravans? You've gotta be picky here, otherwise you'll have to forget the event.

------------------
Follow the masses!
30,000 lemmings can't be wrong.

We who grew up tall and proud
In the shadow of the mushroom cloud
Convinced our voices can't be heard
We just want to scream it louder and louder:
"What the hell are we fighting for?"
"Just surrender and it won't hurt at all"
-Brian May (Queen)
Stefan Härtel is offline  
Old February 19, 2000, 06:57   #5
Hendrik the Great
Prince
 
Local Time: 06:53
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Good old Germany!
Posts: 743
T$£(!)$%££""£$£$$%^$...

Ok, let's start thinking.

Who is building caravan? All of them. NO

Who is making a lot of money through them? All of them. NO

Who was the trade power of the time and who is making too much money out of it for my taste? Ahh!
Venetians and Latins! Bingo!

Thanks!

Hendrik the Great is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:53.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team