PoLlama Forums  

Go Back   PoLlama Forums > WarCraft > World Editor Help

Reply
 
LinkBack Thread Tools
Old 03-02-2008   #1
 
Halakbalakbalak's Avatar
 
Join Date: Jun 2007
Posts: 1,634
Halakbalakbalak will become famous soon enough
Risk-Type trigger

Well, I need a risk TYPE TRIGGER.

Not a risk system.


What I need is, a trigger where I select the variables, and when all variables are owned by X player, X ammount of gold and units spawn belonging to player X in the center of region X ever 40 seconds.


It can be 3 triggers if needed, but this is something that i need urgently, I am planning on making a map now that i am stuck in the hospital, and want to finally do something in my terms as "decent" map making other then terrain(which I even got tired of that...)


So, any help?

Current Projects
[Only registered and activated users can see links. ]
Halted Projects
Conflict Rising 2.0(A much better balanced, much better made version of the original.)
Barbarus Incursio
Halakbalakbalak is offline   Reply With Quote
Old 03-02-2008   #2
 
Mr. Zero's Avatar
 
Join Date: Sep 2006
Location: Denmark (GMT+1)
Posts: 2,173
Mr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond reputeMr. Zero has a reputation beyond repute
Re: Risk-Type trigger

You gotta be more descriptive then that. Can't quite understand what you want.

You want a trigger that does:
  • Select all the variables (For some reason...? Oh and how would you "select" variables?)
  • Then mark all the variables to a certain player (Arrays? You can't "own" a variable, but you can use arrays for multiple players.)
  • Give some gold to the player that owns these variables (How? How much do we talk about?)
  • And some units to the player (Why units?)
  • Finally run this trigger every 40 seconds. (Mmk.)

So I guess I will begin with an event.

Code:
Risk Trigger
    Events
        Time - Every 40.00 seconds of game time
    Conditions
    Actions
And that was about it what I could understand.
Mr. Zero is offline   Reply With Quote
Old 03-08-2008   #3
 
SKuLL09's Avatar
 
Join Date: Feb 2008
Posts: 10
SKuLL09 is an unknown quantity at this point
Re: Risk-Type trigger

i'm goin to bed after this...

Code:
Figure it out
    Events
        Time - Every 40.00 seconds of game time
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Owner of var1) Equal to (Picked player)
                        (Owner of var2) Equal to (Picked player)
                        (Owner of var3) Equal to (Picked player)
                    Then - Actions
                        Player - Add 1000 to (Picked player) Current gold
                        Unit - Create 1 Footman for (Picked player) at (Center of (Playable map area)) facing Default building facing degrees
                    Else - Actions
SKuLL09 is offline   Reply With Quote
Old 03-11-2008   #4
 
Halakbalakbalak's Avatar
 
Join Date: Jun 2007
Posts: 1,634
Halakbalakbalak will become famous soon enough
Re: Risk-Type trigger

Quote:
Originally Posted by Mr. Zero View Post
You gotta be more descriptive then that. Can't quite understand what you want.

You want a trigger that does:
  • Select all the variables (For some reason...? Oh and how would you "select" variables?)
  • Then mark all the variables to a certain player (Arrays? You can't "own" a variable, but you can use arrays for multiple players.)
  • Give some gold to the player that owns these variables (How? How much do we talk about?)
  • And some units to the player (Why units?)
  • Finally run this trigger every 40 seconds. (Mmk.)

So I guess I will begin with an event.

Code:
Risk Trigger
    Events
        Time - Every 40.00 seconds of game time
    Conditions
    Actions
And that was about it what I could understand.
thatpretty much covers it ;p... but I need it possible with one triggor, that i do not know hot o do.

Current Projects
[Only registered and activated users can see links. ]
Halted Projects
Conflict Rising 2.0(A much better balanced, much better made version of the original.)
Barbarus Incursio
Halakbalakbalak is offline   Reply With Quote
Old 03-11-2008   #5
 
Halakbalakbalak's Avatar
 
Join Date: Jun 2007
Posts: 1,634
Halakbalakbalak will become famous soon enough
Re: Risk-Type trigger

Quote:
Originally Posted by SKuLL09 View Post
i'm goin to bed after this...

Code:
Figure it out
    Events
        Time - Every 40.00 seconds of game time
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Owner of var1) Equal to (Picked player)
                        (Owner of var2) Equal to (Picked player)
                        (Owner of var3) Equal to (Picked player)
                    Then - Actions
                        Player - Add 1000 to (Picked player) Current gold
                        Unit - Create 1 Footman for (Picked player) at (Center of (Playable map area)) facing Default building facing degrees
                    Else - Actions
That one would work, to a point, I will try it out. thnx.

Current Projects
[Only registered and activated users can see links. ]
Halted Projects
Conflict Rising 2.0(A much better balanced, much better made version of the original.)
Barbarus Incursio
Halakbalakbalak is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may post new threads
You may 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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Middle Earth Risk 7.7 Kamulec WarCraft Maps 0 07-02-2008 07:02 AM
i cant get the trigger 2 work after ownership changes shocker World Editor Help 5 02-08-2008 04:47 PM
Trigger Thread, These might help you. Halakbalakbalak World Editor Help 1 10-21-2007 12:45 PM
Unit editor basic guide Halakbalakbalak Submit a Tutorial [World Editor] 1 10-19-2007 02:18 PM
Respawning + Hero Selection on Circle DarkBlade Tutorials 4 09-07-2007 07:56 PM


All times are GMT -5. The time now is 09:08 PM.

A friend of Wc3Happy
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165