HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

hero select delay

08-31-2004, 11:22 PM#1
USETHEFORKS
in my campaign i made a trigger to select heroes
wen i test it it works fine
but wen i play online i get about an 8 second delay b4 the hero i selected is actually under my control [its not lag im sure]
how do i get it to not delay?

the trigger goes like this:
EVENTS:
UNIT is selected

CONDITIONS:

ACTIONS:
If/then/else:
IF triggering unit is selected by player1red
THEN change ownership of triggering unit to player1red
create special effect at position of triggering unit using EFFECT
instantly move triggering unit to center of region01
create special effect at position of triggering unit using EFFECT
ELSE

and i repeat that with in the same exact trigger by jus replacing player1red with the other players but wen i play online it delays, y and how do i fix it??
09-01-2004, 01:52 AM#2
Master-O-Chaos
Are you sure its not lag ?
If it isnt then i dunno whats wrong



Ps Do you like my avatar i do =)
09-01-2004, 02:02 AM#3
fugly
the special effects might be causing delays but can you post the actual trigger?
09-01-2004, 02:04 AM#4
USETHEFORKS
im sure its not lag...cuz evry1 feels it evry time we play and the scrn doest freeze and no drop thing apears.... so its definatly not lag

the special effects thing....i dont see y sfx would create a problem, but it kinda makes sense, heres the actually trigger [well not exactly still left UNIT and region blank, and i dont think the wording is exactly correct...]

EVENTS:
UNIT is selected

CONDITIONS:

ACTIONS:
If/then/else:
IF triggering unit is selected by player1red
THEN change ownership of triggering unit to player1red
create special effect at position of triggering unit using (ressurection effect)
create special effect at position of triggering unit using (soulsteal effect)
instantly move triggering unit to center of region01
set camera to camera01 for player1red over 0 seconds.
create special effect at position of triggering unit using (ressurection effect)
ELSE

but i hav a theory...if uve played ToB, wen u select a hero, it takes about 2-3 seconds to respond b4 it becomes urs and the trigger runs....could that b the same error, bug, or w/e happening except they found a way 2 decrease it? any thots on how to fix it (perhaps by using da sam technique as used in ToB?)?

PS nice avatar :D
i hafta give credit to the guy who made my bloodicon...but cant remeber his sn...but its his
09-01-2004, 02:09 AM#5
nolemons
When i choose my hero i double clicked and it did almsot instantly. i dont know if that helps though. :\
09-01-2004, 08:00 PM#6
USETHEFORKS
would adding a seperate trigger for the sfx and removing the sfx from the select trigger make it go faster? i cant c a reason y it would delay so it most likley is the sfx....