• 0

    posted a message on Couple questions

    Anybody?

    Posted in: Triggers
  • 0

    posted a message on Taking Trigger Questions

    Hi! I was wondering if you could he,lp me with this..? Well what i want to to is have Cities all over the map that need to have a supply depo or ANY srtucture next to them to be award money every 4 minutes or so... Was wondering if you could help me do this With regions?

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    General - If (Conditions) then do (Actions) else do (Actions) If playerAwarded == false ((Picked unit) is in (Region((Position of ([Money Giving Building])), 5.0))) == true Then Player - Modify player 1 Minerals: Add 1500 Variable - Set playerAwarded = true Else Variable - Set playerAwarded = false

    At this part Im stuck I cant fwr the playerawarded == false in there and picked unit is in region

    Posted in: Triggers
  • 0

    posted a message on Couple questions
    Quote from Abion47: Go

    Try this:

    Events Periodic Event - Every 45 seconds of game time Local Variables playerAwarded = false <Boolean> Conditions Actions Player Group - Pick each player in (All Players and do (Actions) Actions Unit Group - Pick each unit in (Any units in (Entire Map) owned by player (Picked Player) matching Required: Structure; Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions) Actions General - If (Conditions) then do (Actions) else do (Actions) If playerAwarded == false ((Picked unit) is in (Region((Position of ([Money Giving Building])), 5.0))) == true Then Player - Modify player 1 Minerals: Add 1500 Variable - Set playerAwarded = true Else Variable - Set playerAwarded = false

    This code will only work for one building, so if you have more than one statue, you will have to run it once for every statue.

    Do i Do custom script for the False and True parts?

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    Yes imlearning i no im taking a big task lol thaats way over my skills i currently have now lol but im here asking for help :D No i Simplyjust want A STRUCTure not multiple ones just one built near a city ... but i think i mighgt use ^^ Array tuorial for this sounds like it might actually work... And with the If Then Else I cant type, out anything in there... when i double click nothing happens if you could look back to the last trigger code abion gave me you'll know what im talkin about

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    @SouLCarveRR: Go

    1.) Only one player can be awarded. 2.) No we cleared this isssue already

    Can you link me to your tutorial? please

    @Abion47

    When i get to the If then Else part it wont let me change anything to them it just stays balnk? what do i do

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    So can anyone help me...?

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    I used Event: periodic event | Every 5 seconds of game time Condition: Withing bounds | 1 - 2 Action : Set player property| award 100 mins How do I apply this to The structures i will be using?

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    So i figured out a trigger for this to work but i would still likle to see what you can do if thats fine with you my question nwo is how do i apply it to the structure (city)

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    @kenxftw: Go

    YES! EXACTLY! lol sorryfor not being any clearer earlier but if you could help me out now lol i would be so glad... haha i been searching through the triggers trying to find something usefull that might help me no luck... everything is so complicated haha

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    No i would not like to have minerals awarded based on supply depos around the city i would like minerals awarded to the player that has a supply depot or any building near the city such 1400 mins

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    Thank anyways though appreciate

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    Well i do appreciate it, its not what im looking for have you ever played the diplomacy 7.7 gold on sc bw? thats the effect im trying to look for if you ever played it

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    If you could do that , that would be so help ful thank you if i did it by conquering people could just hit and run on cities easily and would make the game very hectic

    Posted in: Triggers
  • 0

    posted a message on Couple questions

    Like Say the structure you have your supply depo around represents a city and by having this gives you X monney so if you had 2 cities you get 2(x) monney but different cities will have different values ofc I dont want the money you get determines by how many supply depos you have around the city? is that clear O.o i hope so haha

    Posted in: Triggers
  • To post a comment, please or register a new account.