Cash Trigger

Discussion in 'Maps and Replays' started by ArchaicDrago, Sep 24, 2008.

Cash Trigger

Discussion in 'Maps and Replays' started by ArchaicDrago, Sep 24, 2008.

  1. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    Is there a simple cash trigger that adds 2 mins and gas every 1000 points or so?

    I dont know Switches ( I think you use one )
     
  2. EatMeReturns

    EatMeReturns Happy Mapper Moderator

    Joined:
    Jun 28, 2007
    Messages:
    1,730
    Likes received:
    11
    Trophy points:
    38
    From:
    Albuquerque, New Mexico
    In Starforge style:

    Code:
    Players: (Any player the trigger is for)
    
    Conditions:
    Score(Current Player, Total, AtLeast, 1000);
    
    Actions:
    SetScore(CurrentPlayer,Subtract,1000,Total);
    SetResources(CurrentPlayer,Add,2,OreAndGas);
    PreserveTrigger();
    Comment("CashTrigger");
    
    Switches are not necessary, unless you only want it to be awarded at a certain time.
     
  3. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    THe problem with my map tho.. Is Units will upgrade with a specific amount of Points. so it cant really go back to 0
     
  4. EatMeReturns

    EatMeReturns Happy Mapper Moderator

    Joined:
    Jun 28, 2007
    Messages:
    1,730
    Likes received:
    11
    Trophy points:
    38
    From:
    Albuquerque, New Mexico
    Then you will have to make 1 trigger for every 1000 points you anticipate. So if you expect people to learn up to 100,000 points, then you will need 100 triggers... or you could use the custom score, but then you would have to work with kills, and things would get confusing.
     
  5. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    awww darn :(
     
  6. EatMeReturns

    EatMeReturns Happy Mapper Moderator

    Joined:
    Jun 28, 2007
    Messages:
    1,730
    Likes received:
    11
    Trophy points:
    38
    From:
    Albuquerque, New Mexico
    That's pretty much what I said when I figured that out, except I used more expletives and less sad smiley faces.

    Both systems are great for what they are made to do, but together, they are just too monotonous for me.

    ...at least until I learn how to use the scmdraft text triggering plugin, and make my speed-triggering program that I began work on a while ago...

    Code is generated based on a few values you put in, then you can copy->paste in to scmdraft...


    ...but that's off topic and another story. Sorry to burst your bubble, but I'm fairly certain you can't do what you want to do any other way... unless iMaGiNe. knows a way.
     
  7. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    yeah hes been helpin me alot lol

    My other idea would be keep lvling score as Killz and raisings. and have cash just on kills only? that might work. but never display the cash score. Juss the lvl up score.
     
    Last edited: Sep 25, 2008
  8. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
    EatMeReturn's is right, you would have to make individual triggers for every time you would want the player to level up. His first trigger sample is excellent if you do not need any specific points to use for leveling! On another note, there is a program that could speed up the process for you by creating kills to cash triggers!

    SC Trigger
     
  9. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    ok i got the file and put it where it told me too. but to DL the other components i need the http://on.to/Iceman site.. and it doesnt work :p :(
     
  10. Imagine.

    Imagine. New Member

    Joined:
    Jun 24, 2007
    Messages:
    1,260
    Likes received:
    4
    Trophy points:
    0
  11. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    is there triggers for X-tra Editor i can use? I can use a cash trigger for my new map!
     
  12. UnholyUrine

    UnholyUrine New Member

    Joined:
    Feb 3, 2008
    Messages:
    56
    Likes received:
    0
    Trophy points:
    0
    Eew stop double posting :p

    Use starforge or SCMDraft 2 so you can copy and paste ur triggers.. it'd be a lot faster :p
     
  13. ArchaicDrago

    ArchaicDrago Member

    Joined:
    Sep 24, 2008
    Messages:
    337
    Likes received:
    1
    Trophy points:
    18
    From:
    Vernon BC
    i dont use text edited triggers. dont know how. im to used to the ones i have on X-tra editor