• 0

    posted a message on If a unit is close to another unit how do you kill one of them?

    Could you make the effect im terrabad with the data editor :X

    Posted in: Triggers
  • 0

    posted a message on If a unit is close to another unit how do you kill one of them?

    so by using either of these would they scale with the size of the unit?

    Posted in: Triggers
  • 0

    posted a message on If a unit is close to another unit how do you kill one of them?

    so would i make a spell to do that? and the reason why i cant use a region to active the trigger is because i randomly generate the units size and i cant not change the size of a region as far as i know any one with away to do this would be much appreciated. :D

    Posted in: Triggers
  • 0

    posted a message on Ingame rpg (window) need help

    my idea is to have a dialog box where all of the action takes place

    you are able to pick from 3 classes healer tank and dps

    have like 3-5 different boss which you can select to fight

    something like a Pokemon battle fighting that happens on the dialog box any ideas how to start?

    Posted in: Project Workplace
  • 0

    posted a message on How Would you make and place a Ship?

    bump

    Posted in: Miscellaneous Development
  • 0

    posted a message on How Would you make and place a Ship?

    this is my code

    move up
        Events
            UI - Player 1 presses (Key Pressed) key Down with shift Allow, control Allow, alt Allow
        Local Variables
        Conditions
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Key Pressed) == W
                    (Y of (Position of Battlecruiser [8.00, 10.00])) < 46.0
                Then
                    Unit - Move Battlecruiser [8.00, 10.00] instantly to (Point(((X of (Position of Battlecruiser [8.00, 10.00])) + 0.0), ((Y of (Position of Battlecruiser [8.00, 10.00])) + 4.0))) (No Blend)
                Else
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Key Pressed) == S
                            (Y of (Position of Battlecruiser [8.00, 10.00])) > 8.0
                        Then
                            Unit - Move Battlecruiser [8.00, 10.00] instantly to (Point(((X of (Position of Battlecruiser [8.00, 10.00])) + 0.0), ((Y of (Position of Battlecruiser [8.00, 10.00])) - 4.0))) (No Blend)
                        Else
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    (Key Pressed) == A
                                    (X of (Position of Battlecruiser [8.00, 10.00])) > 8.0
                                Then
                                    Unit - Move Battlecruiser [8.00, 10.00] instantly to (Point(((X of (Position of Battlecruiser [8.00, 10.00])) - 4.0), ((Y of (Position of Battlecruiser [8.00, 10.00])) + 0.0))) (No Blend)
                                Else
                                    General - If (Conditions) then do (Actions) else do (Actions)
                                        If
                                            (Key Pressed) == D
                                            (X of (Position of Battlecruiser [8.00, 10.00])) < 46.0
                                        Then
                                            Unit - Move Battlecruiser [8.00, 10.00] instantly to (Point(((X of (Position of Battlecruiser [8.00, 10.00])) + 4.0), ((Y of (Position of Battlecruiser [8.00, 10.00])) + 0.0))) (No Blend)
                                        Else
                                            General - If (Conditions) then do (Actions) else do (Actions)
                                                If
                                                    (Key Pressed) == R
                                                    (X of (Position of Battlecruiser [8.00, 10.00])) < 46.0
                                                    (X of (Position of Battlecruiser [8.00, 10.00])) > 8.0
                                                    (Y of (Position of Battlecruiser [8.00, 10.00])) > 8.0
                                                    (Y of (Position of Battlecruiser [8.00, 10.00])) < 46.0
                                                Then
                                                    Unit - Make Battlecruiser [8.00, 10.00] face ((Facing of Battlecruiser [8.00, 10.00]) + 90.0) over 0.0 seconds
                                                Else
    

    how would i make my BC scale is x1 and y5 z .8 to be on the grid correctly and no go off of it . Like i would like to know the distances from the from of the BC to the back and keep its ends in the grid.

    Posted in: Miscellaneous Development
  • 0

    posted a message on How Would you make and place a Ship?

    cool i will try that

    Posted in: Miscellaneous Development
  • 0

    posted a message on How Would you make and place a Ship?

    Im trying to make a battleship game. i was wondering how i would make a grid like area where you can place a ship. Also how would i make my ships and i would like the user to be able to rotate then 90 degrees before placing them.

    If anyone can help it would be much appreciated.

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do you add a unit that was made from a ability to a unit group?

    idk but it wont add them to a unit group it only adds the hero

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do you add a unit that was made from a ability to a unit group?

    can you add structures to unit groups because a turret is classified as a structure and not a unit :/

    place turret
        Events
            Unit - Any Unit uses Raven - Place turret at Generic6 - Complete stage (Ignore shared abilities)
        Local Variables
            player turret num = (Empty unit group) <Unit Group>
            player turret num 2 = (Empty unit group) <Unit Group>
            player turret num 3 = (Empty unit group) <Unit Group>
            player turret num 4 = (Empty unit group) <Unit Group>
            player turret num 5 = (Empty unit group) <Unit Group>
            player turret num 6 = (Empty unit group) <Unit Group>
        Conditions
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Owner of (Triggering unit)) == 1
                Then
                    Point - Move PointX To (Triggering ability target point)
                    Unit Group - Add (Closest unit to PointX in (Auto-Turret units in (Entire map) owned by player 1 matching No Unit Filter, with at most Any Amount)) to player turret num
                    UI - Display (Text((Number of Living units in player turret num))) for (All players) to Subtitle area
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Current level for ability Raven - Place Auto Turret on (Triggering unit)) == 1
                        Then
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    (Number of Living units in player turret num) < 3
                                Then
                                    Unit - Kill (Unit 1 from player turret num)
                                    Unit Group - Remove (Unit 1 from player turret num) from player turret num
                                Else
                        Else
                Else
    

    the bug is it only adds my hero unit to the unit group

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do you add a unit that was made from a ability to a unit group?

    but it wasnt created in the trigger it was made from the ability

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do you add a unit that was made from a ability to a unit group?

    first created tower that would have to be designated a unit variable upon creation ______________

    how would you do that part? because i still do not know how to reference that turret QQ

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do you add a unit that was made from a ability to a unit group?

    but the unit wont be on the field i think so there is no way to kill it

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