Staredit Network

Staredit Network -> UMS Assistance -> help with triggers
Report, edit, etc...Posted by high6 on 2004-10-24 at 18:56:47
ok in my new map i have a trigger


null
Trigger
Players:
¤ 1
Conditions:
¤ always
Actions:
¤ center location named 'p1' on any unit owned by player1 at 'anywhere'
¤ preserve triggers



when u change units still only 1 on map and die and it changes back it spawns them in middle of map how do u fix that so they spawn where the unit is that there changing out of is
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 18:59:33
Are you using hyper triggers?

Becuause when you center a location it asks "Center location on unit at what location?" So it will center the location on the unit which resides at "Anywhere" in your case. So when the unit dies, it has nothing to center on, except the location where the unit should be. Since the location is anywhere, it centers the location on the center of the map.
Report, edit, etc...Posted by high6 on 2004-10-24 at 19:02:25
thanks btw should i use hyper triggers for this?
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 19:04:49
Yes, using hyper triggers is highly recommnded.
Report, edit, etc...Posted by high6 on 2004-10-24 at 19:08:12
should i use on the center 1 or the respawn 1
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 19:09:13
Just create a hyper trigger for all players.
Always, Wait 0 x62, Comment, Preserve.
Report, edit, etc...Posted by high6 on 2004-10-24 at 19:53:29
dude that doesnt help with my question

how do i fix that problem with it going to middle of map
Report, edit, etc...Posted by Urmom(U) on 2004-10-24 at 20:15:41
do you mean that you have a player owning a unit and when it dies you want another to be created where it last stood?
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 20:42:56
Like I said, use hyper triggers. If that doesn't solve your problem let me see the map.
Report, edit, etc...Posted by high6 on 2004-10-24 at 21:03:11
here it is

btw its when u get a warthog and then the warthog dies i want it to place master chief where it was before it died
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 21:09:19
My guess is to redo the hyper triggers, it should work now. Here you go.
Report, edit, etc...Posted by high6 on 2004-10-24 at 21:45:46
dude i copyed ur hyper triggers word for word onto a more updated version of halo that i made and it didnt work
Report, edit, etc...Posted by RexyRex on 2004-10-24 at 21:51:02
Be sure to add the hyper triggers last, or else it won't work.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-10-25 at 02:24:55
high6, 80% of the topics in this section are help with triggers You need to be more specific when coming up with thread titles. If i saw this one sooner i would of locked it.

ADDITION:
QUOTE(high6 @ Oct 24 2004, 08:03 PM)
here it is

btw its when u get a warthog and then the warthog dies i want it to place master chief where it was before it died
[right][snapback]89486[/snapback][/right]


Change the condition on your Center location trigger to something like "Current player commands at least one men"

The problem is your location is trying to center on your unit when you don't have any so it ends up in the center of the map.

Hyper triggers have nothing to do with it.
Next Page (1)