HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Diplomacy Triggers

05-21-2004, 09:51 PM#1
ViciousArtist
I am wondering if anyone knows any good diplomacy triggers. Where a player owns like a city per say and gets money every 2 minutes, but other players can take that city and then they can receive the money for it, like Europa.
05-21-2004, 09:53 PM#2
Aznwhore
that's easy triggering
Event: player owned <building> moves to <region>
------Periodic Event: every <seconds>
Action: Give <amount> of gold to <owner of triggering unit>
05-21-2004, 10:38 PM#3
HEZZA
in my map i have these triggers
if u take over a "province" (you do this by surrounding it for 5 seconds with 2 units or 1 building )
that player gets control.....and +x gold +X wood every X seconds of game...wanna see the triggers>
05-21-2004, 10:39 PM#4
HEZZA
Gravity in wc3....is it worth it?
i had an engine ready but its so easy to forge just using animations and special effects
what would it be useful for>
05-22-2004, 12:03 AM#5
Shimrra
Quote:
Originally Posted by HEZZA
Gravity in wc3....is it worth it?
i had an engine ready but its so easy to forge just using animations and special effects
what would it be useful for>

What does this have to do with anything?

Code:
Money
    Events
        Time - Elapsed game time is 2.00 seconds
    Conditions
    Actions
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Owner of (Building)) Equal to Player[(Integer A)]
                    Then - Actions
                        Player - Set Player[(Integer A)] Current gold to ((Player 1 (Red) Current gold) + 5)
                    Else - Actions

To use this trigger, make sure that Player[1] is Player 1, Player[2] is Player 2,, and so on. Set the variables at the beginning of the map.
05-22-2004, 11:59 AM#6
HEZZA
****, that was supposd to be new thread sorry
05-22-2004, 06:48 PM#7
ViciousArtist
Quote:
Originally Posted by Aznwhore
that's easy triggering
Event: player owned <building> moves to <region>
------Periodic Event: every <seconds>
Action: Give <amount> of gold to <owner of triggering unit>

Azn that wouldn't work, because the trigger would take place only when your building entered the region, not by a timer, which means you would need to rebuild in that region every time you wanted gold, But I have created a system that works, so thanks for the help every1.

**edit**
But i do have another question anyone know how to raise the camera view for gameplay, everything i have tried dosnt seem to work.