HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[Help] Selection Thingy

02-01-2009, 09:12 AM#1
Tide-Arc Ephemera
Collapse JASS:
function Trig_GE_Selection_fix_Actions takes nothing returns nothing
    local integer i = 0
    local group g = CreateGroup()
    loop
        set g = GetUnitsSelectedAll(Player(i))
        call ClearSelectionForPlayer(Player(i))
        call SelectGroupForPlayerBJ(g, Player(i))
        call DestroyGroup(g)
        set i = i + 1
    exitwhen i == 11
    endloop
    set g = null
endfunction

Alright, in my map there are strange cases where units become unresponsive and/or uncontrollable. The solution is deselecting and reselecting.

This sort of works, however it starts to fail when targetting spells and orders are being used.

Is there a way to do this that doesn't interrupt targeting?
02-02-2009, 04:21 AM#2
Tide-Arc Ephemera
... bump?
02-02-2009, 04:36 AM#3
fX_
I tihnk that happens when you use 'Chaos' and/or morphing spells.
02-02-2009, 04:43 AM#4
Tide-Arc Ephemera
It appears I have a chaos ability which turns the unit into itself, I have removed it but I will be back if the problem does not cease.
02-07-2009, 07:37 AM#5
Tide-Arc Ephemera
Here's what's happening (before AND after attempted solutions):
1. Control and interraction with WC3 itself is delayed for UP TO 60 seconds occasionally
2. Delay happens on NON-CHAOS'd unit

Attempted solutions:
1. Pausing unpausing the game (didn't work as I thought it would, apparently it uses up pauses). Reason: Pausing it fixed it if SOMEONE ELSE with no delay did it.
2. The method in the first post.

I'm open to suggestions to stop this, as this map is really... reliant on sharp responses.
02-07-2009, 09:43 AM#6
Fledermaus
Berserk can also cause this afaik.
02-07-2009, 10:24 PM#7
Tide-Arc Ephemera
Before I ask anymore questions, this is what I know so far:
- Berserk
- Chaos

I use Chaos for armor changes, why? Because when I use an upgrade for an armor change, Berserk randomizes the armor to something else.

I am using Berserk for a temporary speed bonus (I can't use Wind Walk with no invisibility because it removes pathing versus units and cancels when spells are cast), is there anything that can replace it short of dummy casting something like Bloodlust?

And are there anymore stupid abilities like this?
02-09-2009, 03:45 AM#8
Tide-Arc Ephemera
Bump?