wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > Code Resources > Systems
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 05-01-2010, 03:28 PM   #46
DanThanh
User
 
DanThanh's Avatar
 
Join Date: Apr 2009
Posts: 137

Submissions (1)

DanThanh has little to show at this moment (7)

Send a message via Yahoo to DanThanh
Default

Maybe you did something wrong, i've nerver encountered any bug like that !
__________________
DanThanh is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 04-12-2011, 12:11 AM   #47
Themerion
Brahms-fan
 
Themerion's Avatar
 
Join Date: Jan 2006
Posts: 641

Submissions (2)

Themerion has a spectacular aura about (110)Themerion has a spectacular aura about (110)Themerion has a spectacular aura about (110)Themerion has a spectacular aura about (110)

Default

Quote:
After a time,creep don't respawn again.

I just ran some testing on AutoIndex, and it seem to be a little bit untrustworthy when it comes to RemoveUnit. Is there any chance that you're using RemoveUnit or ReplaceUnit? In that case, don't- hide them and kill/explode them instead.
__________________
Submissions::
(v)JASS Tutorial
Covers how to make fast and safe coding for common tasks in vJASS/JASS.
Creep Respawn System
It has never been easier to respawn creep groups...
Themerion is offline   Reply With Quote
Old 05-03-2011, 02:25 PM   #48
AzuhaSky
User
 
AzuhaSky's Avatar
 
Join Date: Mar 2011
Posts: 20

AzuhaSky has little to show at this moment (0)

Default

Hi! I want replace creep respawn in region!But when use, that is double respawn,not replace! Although, I was based on some your example!(Ah, If i use Remove Unit random in respawn Region, old creeps can stop respawn or not?)
__________________
AzuhaSky is offline   Reply With Quote
Old 05-09-2011, 11:04 AM   #49
Themerion
Brahms-fan
 
Themerion's Avatar
 
Join Date: Jan 2006
Posts: 641

Submissions (2)

Themerion has a spectacular aura about (110)Themerion has a spectacular aura about (110)Themerion has a spectacular aura about (110)Themerion has a spectacular aura about (110)

Default

If ListGroups isn't sufficient; you'll have to manually destroy the old group, and create a new one. See the example trigger "Cease Respawning" on how to destroy a group.

PS. If you need to store the group as a global variable; you can use the Integer-type.
Trigger:
Custom Script: set udg_variableName = CRS_CreateGroup(...)

Yeah, you should probably not use RemoveUnit on respawning creeps; AutoIndex seem a bit bugged with that.
__________________
Submissions::
(v)JASS Tutorial
Covers how to make fast and safe coding for common tasks in vJASS/JASS.
Creep Respawn System
It has never been easier to respawn creep groups...

Last edited by Themerion : 05-09-2011 at 11:05 AM.
Themerion is offline   Reply With Quote
Old 05-13-2011, 04:32 AM   #50
AzuhaSky
User
 
AzuhaSky's Avatar
 
Join Date: Mar 2011
Posts: 20

AzuhaSky has little to show at this moment (0)

Default

Thank you so much! I'll try it!
__________________
AzuhaSky is offline   Reply With Quote
Old 05-21-2011, 02:38 PM   #51
AzuhaSky
User
 
AzuhaSky's Avatar
 
Join Date: Mar 2011
Posts: 20

AzuhaSky has little to show at this moment (0)

Default

Quote:
Originally Posted by Themerion
If ListGroups isn't sufficient; you'll have to manually destroy the old group, and create a new one. See the example trigger "Cease Respawning" on how to destroy a group.

PS. If you need to store the group as a global variable; you can use the Integer-type.
Trigger:
Custom Script: set udg_variableName = CRS_CreateGroup(...)

Yeah, you should probably not use RemoveUnit on respawning creeps; AutoIndex seem a bit bugged with that.

Hi Themerion, i was test your helper very long,but in my map, it's not happen! Why?
I was use this:
Code:
local crsGroup csg
set udg_tempRect = Where<gen>
set csg=CRS_CreateGroup(udg_tempRect)
Wait 120.00 seconds
call csg.destroy()
and late, i use this trigger:
Code:
Events: Time - Elapsed game time is 121 seconds
Conditions:
Actions:
local crsGroup cg
set udg_tempRect = Any <gen>
call CRS_CreateSetup(udg_tempRect)
set udg_tempRect = Where <gen>
set cg=CRS_CreateListGroup(udg_tempRect,false,true)
call CRS_ClearSetups()
__________________
AzuhaSky is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 02:07 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services