Staredit Network

Staredit Network -> UMS Assistance -> Cloaking zergling
Report, edit, etc...Posted by Azu on 2006-11-01 at 17:58:27
What am I doing wrong? Why is this crashing?


Trigger
Description:
Cloak
Players:
¤ Force 1
Conditions:
¤ Always
Actions:
¤ Disable doodad state for zerg zergling owned by current player at anywhere
¤ Wait 5
¤ Enable
¤ Wait 5
¤ Enable
¤ Wait 5
¤ Center location on zergling current player
¤ Order all zergling current player anymore move to location
¤ wait 5
¤ center view on location


Fixed typo
Report, edit, etc...Posted by roryfenrir on 2006-11-01 at 18:02:39
arent there some units that crash when you disable them?
Report, edit, etc...Posted by NerdyTerdy on 2006-11-01 at 18:18:05
That's true, but the zergling isn't one of them. Maybe the waits need to be longer? Not sure. If you see it anytime during the cloaking process it'll crash you. Try extending waits and report back.
Report, edit, etc...Posted by fritfrat(U) on 2006-11-01 at 20:46:41
I think the waits need to be longer; if I remember correctly, 111 may be closer to what people use.

And Nerdy's right, viewing this process crashes you.
Report, edit, etc...Posted by Azu on 2006-11-01 at 21:33:48
I'm not looking at it while it does this.
The starting location is far away from it, you don't see it until it centers the view on it (after it cloaks it)

I tried setting the waits to 111 each but it's still making me crash?

Here is the exact trigger
CODE
Trigger("Force 1"){
Conditions:
Always();

Actions:
Set Doodad State("Current Player", "Devouring One (Zergling)", "Anywhere", disabled);
Wait(111);
Set Doodad State("Current Player", "Devouring One (Zergling)", "Anywhere", enabled);
Wait(111);
Set Doodad State("Current Player", "Devouring One (Zergling)", "Anywhere", enabled);
Move Location("Current Player", "Devouring One (Zergling)", "Anywhere", "Single location");
Order("Current Player", "Devouring One (Zergling)", "Anywhere", "Single location", move);
Wait(111);
Center View("Single location");
Comment("Cloak");
}
Report, edit, etc...Posted by NerdyTerdy on 2006-11-01 at 22:06:05
Try making it for just one player? I dunno xD
Report, edit, etc...Posted by Kenoli on 2006-11-01 at 22:25:43
Are you sure that the trigger is causing the crash?
Disable the trigger and see if it still crashes.
Report, edit, etc...Posted by Azu on 2006-11-02 at 15:26:42
Yes. There wasn't any problems until I added this trigger.
It crashes as soon as I view the ling.
Report, edit, etc...Posted by CheatEnabled on 2006-11-03 at 14:55:45
If there are map revealers over the ling, they shouldn't be there before after you cloaked it.
Report, edit, etc...Posted by Azu on 2006-11-03 at 16:39:42
There aren't any map revealers.

There is a ling in the top left corner, and a start location near the middle where you can't see the ling.

Then the trigger I posted is ran, and it crashes when it centers location on the ling.

I've tried deleting every single other trigger on the map, and this still happens.

confused.gif
Report, edit, etc...Posted by Kenoli on 2006-11-03 at 16:42:19
It works perfectly fine when I do it.
Report, edit, etc...Posted by CheatEnabled on 2006-11-04 at 04:48:01
QUOTE(Kenoli @ Nov 3 2006, 10:42 PM)
It works perfectly fine when I do it.
[right][snapback]582683[/snapback][/right]

Same here.


Why don't you just try to remake the map?
Report, edit, etc...Posted by Hydralisk- on 2006-11-04 at 10:11:31
They got a point. If it doesn't work, it may be that you've commited some runtime error, and it will keep crashing unless you start fresh. It probably DOES work fine, but starting fresh will most likely solve your problem.
Report, edit, etc...Posted by H4mx0r on 2006-11-04 at 12:33:51
I sorta have the same problem with an unsieged tank.. but what you should try is to create the ling for an unvisioned player, then ORDER it to move somewhere, anywhere, then teleport it and give it to P1 for example.



or just order it to move BEFORE you cnter view in what youve stated, kay
Report, edit, etc...Posted by Ichi on 2006-11-07 at 11:09:45
Try to enable only once
Next Page (1)