• 0

    posted a message on Assign newly created units an ability order?

    Create Unit

    Order (Last Created Unit) to (Ability Command)...

    Posted in: Miscellaneous Development
  • 0

    posted a message on Random Encounters.

    Okay this is most likely because some reason events ( I believe ) will not re-fetch a units position and use its static initial position.

    This is my suggestion and I believe this will work, to activate random encounters or when battle is over have another trigger, ' Start Trigger ( Random Encouter ) ' to restart the trigger as there's no event.

    RandomEncounters
        Events
        Local Variables
            Random = 0 <Integer>
            UnitOldLocationPoint = No Point <Point>
        Conditions
        Actions
            General - While (Conditions) are true, do (Actions)
                Conditions
                    Unit in battle == false
                Actions
                    Variable - Set UnitOldLocationPoint = (Position of Marine [125.90, 124.98])
                    General - Wait 2.0 Game Time seconds
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Distance between (Position of Marine [125.90, 124.98]) and UnitOldLocationPoint) >= 1.0
                        Then
                            Variable - Set Random = (Random integer between 1 and 100)
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    Random <= 10
                                Then
                                    ------- COMMENT: INITIATE MOVE TO BATTLE
    
                                    Trigger - Stop all instances of (Current trigger)
                                Else
                        Else
    
    Posted in: Miscellaneous Development
  • 0

    posted a message on Random Encounters.

    Something like this would almost work

            Unit - Any Unit Enters within 1.0 of ((Position of Zealot [128.28, 66.15]) offset by 2.0 towards ((Position of Zealot [128.28, 66.15]) facing 270.0 degrees))
    

    However it is an event and I don't believe events re-fetch the units position so you may have to make it a variable and have that variable fetched on so conditions...

    I hate timers but you could make one check every X periodic seconds and condition while unit is not in battle, have it check the units position and if its not the same as last position the trigger was ran... etc...

    Posted in: Miscellaneous Development
  • 0

    posted a message on 256x256+ map size / Nav-Mesh questions

    I don't believe there will easily be a way to make a map literally bigger except for illusions.

    I think your best option is to make all the units smaller, speed smaller, range smaller, and zoom camera...

    I assume shifting from one map to another works online properly unlike Starcraft 1.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Contest] Clock

    I assume it is okay to not use ' Real Life Time ' however make it follow a faster time period long as it reflects a real clock...

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