• 0

    posted a message on AI Won't Leave the Game--> Still Having Problems. Please come back ScorpSCII!

    Make a Variable (Ctrl+B) and name it team
    Set the Type to Player Group, and check the Array
    Set the first Size field to 2, and keep the rest at 0.

    This trigger puts the players into their player group at map start

        Events
            Game - Map initialization
        Local Variables
        Conditions
        Actions
            Player Group - Add player 1 to team[1]
            Player Group - Add player 2 to team[1]
            Player Group - Add player 3 to team[2]
            Player Group - Add player 4 to team[2]
    

    This is the trigger, that checks if the players have more than 0 structures, and if one team is defeated.

        Events
            Timer - Every 1.0 seconds of Game Time
        Local Variables
        Conditions
        Actions
            Player Group - Pick each player in team[1] and do (Actions)
                Actions
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Number of Living units in (Any units in (Entire map) owned by player (Picked player) matching Required: Structure; Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 0
                        Then
                            Game - End game in Defeat for player (Picked player) (Show dialogs, Show score screen)
                            Player Group - Remove player (Picked player) from team[1]
                        Else
            Player Group - Pick each player in team[2] and do (Actions)
                Actions
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Number of Living units in (Any units in (Entire map) owned by player (Picked player) matching Required: Structure; Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 0
                        Then
                            Game - End game in Defeat for player (Picked player) (Show dialogs, Show score screen)
                            Player Group - Remove player (Picked player) from team[2]
                        Else
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Number of players in team[1]) == 0
                Then
                    Game - End game in Victory for player (Player 1 from team[2]) (Show dialogs, Show score screen)
                    Game - End game in Victory for player (Player 2 from team[2]) (Show dialogs, Show score screen)
                Else
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Number of players in team[2]) == 0
                        Then
                            Game - End game in Victory for player (Player 1 from team[1]) (Show dialogs, Show score screen)
                            Game - End game in Victory for player (Player 2 from team[1]) (Show dialogs, Show score screen)
                        Else
    
    Posted in: Map Feedback
  • 0

    posted a message on New series : "What if ?"

    Very simple, yet a very nice idea.

    Posted in: Off-Topic
  • 0

    posted a message on I need help

    Copy the whole trigger, and use the <<code>> tag to make it readable.

    Posted in: Triggers
  • 0

    posted a message on Rate my load screen

    @Swagblanket: Go

    I dont know if the terrain is final or not, but it looks very plain and undetailed.

    The tutorial is a nice concept, but I think you should move it down, just a bit, and maybe put it to the left instead. The eye moves like in the attached image, so moving the tutorial to the top left, will make it way more noticable.

    Posted in: Artist Tavern
  • 0

    posted a message on Visual polish
    Quote from tordecybombo: Go

    But I would say visuals are overrated among the more dedicated mappers with higher standards (like a few sc2mapster mappers).

    I could be one of those :)

    I dont know if I overrate visuals, but I think good visuals are just as important as good gameplay. I hate staring at plain Agria Dirt with no doodads, and default terran dialog buttons everywhere.

    Posted in: General Chat
  • 0

    posted a message on Light Time's Night: a new way to play

    Very well made trailer. How far did you get with the development?

    Posted in: Project Workplace
  • 0

    posted a message on Zombie defence development

    Looks very interesting. I'd love to test this with you sometime.

    Posted in: Project Workplace
  • 0

    posted a message on Paid Project - Wilderness Survival

    Are you sure 10$ is the time worth it? I mean, all of the assignments are very time consuming, and working just one hour extra at your job would pay much better.

    Posted in: Team Recruitment
  • 0

    posted a message on Taffer03, you got probably your biggest competition here
    Quote from zenx1: Go

    cool story bro.

    I dont know what else to say

    Posted in: Off-Topic
  • 0

    posted a message on Honorgarde Valley Beta [Warcraft Project]

    Please contact me when this is available to EU. It looks very interesting!

    Posted in: Map Feedback
  • 0

    posted a message on Need a vote (Doing Protoss since there was a last minute tiebreaker :) )

    My vote goes to Terran, just because noone else voted for them.

    Posted in: Off-Topic
  • 0

    posted a message on [SOLVED] Max Trigger Size

    I split my two largest triggers into half, and it worked.

    Thanks alot guys, I am now able to continue working on Amira. :)

    Posted in: Triggers
  • 0

    posted a message on [SOLVED] Max Trigger Size

    Did I just hit the max amount of triggers?

    I do have a problem if so.

    Script failed to compile: Code jump out of bounds (try reducing the size of very large functions or triggers) (See Trigger Editor for more details)
    
    Posted in: Triggers
  • 0

    posted a message on AI Won't Leave the Game--> Still Having Problems. Please come back ScorpSCII!

    Cant give you the exact lines right now, but you'll need to store each team in a player group variable

    Then run something like this once for each team

            Player Group - Pick each player in (team[1]) and do (Actions)
                Actions
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Number of Living units in (Any units in (Entire map) owned by player (Picked player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 0
                        Then
                            Game - End game in Defeat for player (Picked player) (Show dialogs, Show score screen)
                            Player Group - Remove player (Picked player) from player group (team[1])
                        Else
    

    In the end of the trigger, check the amount of players in each playergroup, and end the game in victory for the opposite team if the amount of players are zero.

    Posted in: Map Feedback
  • 0

    posted a message on Looking for Review - Amira Tower Defence

    The reason I have some requirements for the reviewer is, to ensure that it will be a precise and reliable review, which players can trust. The reviewer should know what he's talking about, and have played the game enough to give a proper review. If not, the review is pointless, and waste of time for both parts.

    Also, unless any big issues happen, the update will be out in a week or two.

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