• 0

    posted a message on Point size or work around?

    I've actually found out that it isn't just when the "Closest unit" near, it's also when the "Closest unit" is further than another unit. So I've been experimenting on how to regain the new "Closest unit" but no luck so far.

    Quote from Ebola0001: Go

    @thatmark: Go

    can you post the map?... the event for the trigger will help us in troubleshooting what it is doing... or just post a complete screen shot of the trigger

    Gladly:

        Events
            Unit - Any Unit Enters Region 001
        Local Variables
        Conditions
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Triggering unit) == (Closest unit to Point 001 in (Any units in Region 001 owned by player Any Player matching Excluded: Air, Structure, Cloaked, Under Construction, with at most Any Amount))
                Then
                    General - While (Conditions) are true, do (Actions)
                        Conditions
                            (Mission Time) >= 0.0
                        Actions
                            Variable - Modify timer[(Owner of (Triggering unit))]: - 1
                            General - Wait 1.0 Game Time seconds
                Else
    
    Posted in: Triggers
  • 0

    posted a message on Point size or work around?

    Hi, I've come accross a problem where when I use:

    (Triggering unit) == (Closest unit to Point 001 in (Any units in Region 001 owned by player Any Player matching Excluded: Air, Structure, Cloaked, Under Construction, with at most Any Amount))

    and when my "Closest unit" goes near the Point001 it stops the following action. The only work around I've come up with is putting something fairly large inside the point. I'd like another option.

    Thanks

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