Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Trigger does not create unit
Report, edit, etc...Posted by CR_Fracture on 2006-05-27 at 14:41:41
Ok, I want to make it so when Player 2 brings a battlecruiser to a location it transforms into a better one and it takes away 100 minerals. Here's how the trigger goes:

Trigger
Conditions:
¤ Player 2 brings at least 1 battlecruiser to 'Transformation location'
¤ Player 2 accumulates at least 100 minerals
¤ 'Switch 3' is set (this is for toggling the transformation on/off)
Actions:
¤ Create Uber Battlecruiser at 'transformation location' for player 2
¤ Kill 1 uber battlecruiser for player 2 at transformation location
¤ modify resources for player 2: subtract 100 minerals
¤ preserve trigger



For some reason, when I test it out it will just kill the battlecruiser and do nothing else. I've tested it with wraiths and marines and it works fine with them. What's wrong?
Report, edit, etc...Posted by Noober on 2006-05-27 at 14:53:11
Does it display a Warning: Unit not placeable message when it tries to create? If there isn't enough space to create a new BC, it'll display that. Try killing the old BC then creating the new one, so that's there's space available.
Report, edit, etc...Posted by CR_Fracture on 2006-05-27 at 14:56:49
QUOTE(Noober @ May 27 2006, 02:52 PM)
Does it display a Warning: Unit not placeable message when it tries to create? If there isn't enough space to create a new BC, it'll display that. Try killing the old BC then creating the new one, so that's there's space available.
[right][snapback]493957[/snapback][/right]


No, it just removes the battlecruiser and that's it. There were no other units at the location at the time (except a beacon).

EDIT: By the way, I'm using hypertriggers and SCXE Base Mode, if that helps.
Report, edit, etc...Posted by Crispie on 2006-05-27 at 15:19:21
Maybe you typed this wrong, but your triggers say to create and destroy the same unit. (Uber BC)
Report, edit, etc...Posted by Noober on 2006-05-27 at 16:45:21
QUOTE(7-7 @ May 27 2006, 04:37 PM)
In the conditions you shout put the following in this order:

-wait 100 milliseconds
-end switch 3
-preserve trigger, already there!
[right][snapback]493998[/snapback][/right]


First of all, what will the wait do? Nothing, except to possibly stack with other waits and mess lots of things up. Also, you don't "end" a switch, you either set, clear, toggle, or randomize it. If you mean clear, I think that he would already have other triggers to clear it. So, adding this does absolutely nothing to help solve the problem of a unit not being created.

Also, like Crispie said, if you didn't type it wrong, and you have it like that in your triggers, then that's just carelessness on your part tongue.gif.
Report, edit, etc...Posted by O)FaRTy1billion on 2006-05-27 at 17:20:26
What battlecruiser are you creating? If it is one of the ones available in Xtra but not StarEdit, you cannot create them with triggers.
Report, edit, etc...Posted by fritfrat(U) on 2006-05-27 at 21:26:57
You can only pre-place those unused heroes. Most maps have it so there are already some pre-placed and they are simply changed ownership when someone wants them. The same goes with any unit such as a vespene orb, aldaris, etc. that is not available in regular staredit.

You can create alexi stukov with triggers, though.
Report, edit, etc...Posted by CR_Fracture on 2006-05-27 at 21:44:53
O sorry I meant kill 1 BC and create one uber BC, but you may be right, it might not be able to create it with trigs, I'll look into it.

ADDITION:
Hey! It worked! I was using Arcturus Mengsk and I changed it to Hyperion, thanks a lot.
Next Page (1)