Staredit Network

Staredit Network -> UMS Assistance -> A certain creation trigger
Report, edit, etc...Posted by FatalException on 2006-06-18 at 15:24:06
Ok, so here is my trigger:
Trigger
Description:
Create-a-bomb
Players:
¤ Player 1
Conditions:
¤ Bring 1 Terran Civilian to 'Option 1.'
¤ 'Switch 01' is set.
Actions:
¤ Create 1 'Timebomb (Terran Vespene Tank 01)' at 'Location that follows a guy.'
¤ Wait 500 milliseconds.
¤ Kill all 'Timebomb' at 'Location that follows a guy.'
¤ Clear 'Switch 01.'
¤ Preserve trigger.

The timebomb isn't being created, even though the previous trigger sets Switch 01. I tried having the bomb created at a different location too, but that didn't work either. Could someone tell me why it won't work?
Report, edit, etc...Posted by R0y- on 2006-06-18 at 15:33:08
I don't think you can use the 'create unit' trigger for units that can only be created through a 3rd world editor... Basically, most triggers won't work for these units. you should change the vespene tank into something like a spider mine. It will work then.
Report, edit, etc...Posted by Grand_Dracolich on 2006-06-18 at 15:47:59
Extra units included in a new editor cannot be created in a trigger.

These include Raszagal, Aldaris, DuGalle, Mengsk, the mineral chunks, the gas tanks and floor hatches.
Report, edit, etc...Posted by Noober on 2006-06-18 at 15:49:38
If you really need to use the gas tank, preplace them and move them when you need them.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-06-18 at 16:47:41
QUOTE(Grand_Dracolich @ Jun 18 2006, 03:47 PM)
Extra units included in a new editor cannot be created in a trigger.

These include Raszagal, Aldaris, DuGalle, Mengsk, the mineral chunks, the gas tanks and floor hatches.
[right][snapback]508952[/snapback][/right]


And traps.
Report, edit, etc...Posted by Electroid on 2006-06-21 at 00:49:03
You can't create those units dude. You can place them in certain map editors, but units other than the units built in the original game, you cannot function in triggers.
Report, edit, etc...Posted by Mini Moose 2707 on 2006-06-21 at 10:43:08
Add a dummy action such as "Add 50000 minerals for all players" so you can ensure that the trigger is indeed running.
Report, edit, etc...Posted by fritfrat(U) on 2006-06-21 at 11:41:41
You can create a Psi Emitter and other powerups, if you want to use those instead.

If you do pre-place and move the vespene tank or create a powerup, your trigger would still be messed up in that if the "location that follows a guy" moves, the vespene tank won't be in the location to be killed, and end up just sitting there where it was originally created.
Report, edit, etc...Posted by Escher on 2006-06-21 at 12:25:23
And if it still doesn't work maybe it has something to do with that switch you have in that trigger =/

Also some people would recommend an air unit. Although, it is killing the unit right after it will look neat with the explosion being directly over the guy instead of beside.
Report, edit, etc...Posted by FatalException on 2006-06-21 at 20:40:18
Ok, so I had it working until I added in the rest of the trigger (Location for the bomb, the extra explosions, etc.) Could someone check it out and see what's going wrong? the map is attatched.
Report, edit, etc...Posted by (U)Bolt_Head on 2006-06-22 at 01:09:08
QUOTE(FatalException @ Jun 18 2006, 02:23 PM)
Ok, so here is my trigger:
The timebomb isn't being created, even though the previous trigger sets Switch 01. I tried having the bomb created at a different location too, but that didn't work either. Could someone tell me why it won't work?
[right][snapback]508942[/snapback][/right]


If the actions don't happen then the conditions are not being met.

I know that sounds smartass of me to say but its true. Here is some general debugging help, this isn't specifically catered to your problem but is stuff to keep in mind for any error you have.



Debugging 101

1. Is your trigger REALLY not fireing? Try adding dummy actions to make SURE if it works or not. (uncheck all waits in the trigger when you do this)

2. If the dummy triggers happen don't make illogical assumptions. Such as assumeing that only some of the actions happen while others do. Random things do not happen in starcraft triggering.

3. If you find out the trigger doesn't run then it means that the conditions are NOT met, End of story. Most likely you think they are being met when they are not, double check. The other possablity is that the condition becomes true but isn't true when the trigger is checked. Check over you trigger order for things that stop the conditions from being true.

4. If you find out the trigger is running but some actions don't, here are some possable reasons. A) You have a wait block (disable waits to test) B) The action really is happening but something else causes it to appear as if it isn't (like a unit being removed right after it is created) C) You are not using the trigger correctly, ither what you think should happen is incorrect or you have something that stops the trigger from running properly. (like trying to remove a unit that isn't there)

5. The last thing is mostly an advanced editor thing. You may have created it wrong. Basicly this is when you are using an advanced editor and what you try to do isn't possable or the editor just doesn't interpret it correctly. An example would be errors in Starforge Trigger syntax, (the trigger you ment to make would actually work but you didn't actually create the trigger because you created it wrong.



Bugs in starcraft are misunderstandings between you and the editor. To debug it you need to figure out what you did wrong.
Report, edit, etc...Posted by Noober on 2006-06-22 at 09:52:39
I thought we had already solved this problem, and that was that you can't create extra units such as those mentioned above using triggers? Now we have to solve his second problem.

QUOTE(FatalException @ Jun 21 2006, 08:39 PM)
Ok, so I had it working until I added in the rest of the trigger (Location for the bomb, the extra explosions, etc.) Could someone check it out and see what's going wrong? the map is attatched.
[right][snapback]511018[/snapback][/right]

Report, edit, etc...Posted by fritfrat(U) on 2006-06-22 at 10:29:53
Fatal, can you post the new trigger that you are having problems with, and what the problems are?
Next Page (1)