Staredit Network

Staredit Network -> UMS Assistance -> Telling vehicles apart
Report, edit, etc...Posted by illusion(SS) on 2005-03-13 at 20:26:02
in my map, there will be 7 vultures. each one will act as a vehicle you can get in and out of. when you get in, you become its owner, when you leave it, it becomes player 12's. so my problem is that how do i reconize each one apart, because each one will have a diffrent spawn location, so when that unit dies, it will spawn back at a place. how do i tell these 7 vultures apart for my map? they will be attacking, and be attacked by others, so using health wont work. HELPPPPP helpsmilie.gif
the reason i need this reconition, is because these vehicles can only be accses by certain people at certain areas of the map, and i need to be able to know his.
Report, edit, etc...Posted by hOOt3rs on 2005-03-13 at 20:42:25
hmm.. what about if you try locations..

say that one vulture has a location moving with it. and when the player brings at least one marine to location, give one terran vulture to player..

im not sure.. just an idea..
Report, edit, etc...Posted by illusion(SS) on 2005-03-13 at 20:54:41
but the problem is that the location centering the vehicle, if it comes in contact with another vheicle, the location might swap
Report, edit, etc...Posted by hOOt3rs on 2005-03-13 at 20:56:40
thats true.. but would it matter since its the same vehicle and the same triggs on the location?

say that a vulture bumps into another and the locations swap.. it still gonna work when you bring a marine to it and it will load , no?



Report, edit, etc...Posted by Rantent on 2005-03-13 at 20:59:23
Put a buried zerg unit under one, when you bring both the buried unit and the vulture to the characters location. Then set a death count switch telling which car you entered. That would use one location total.
Report, edit, etc...Posted by chuiu on 2005-03-13 at 21:09:07
In the trigger that gives the player a vulture, add something like this:

Modify custom score for current player: set to #.

Then another trigger to detect the deaths.

C:
Current player commands exactly 0 vulture.
Current player custom score is exactly #.

A:
Modify custom score for Current player: Set to 0.
Create 1 vulture at location labled "# - Respawn" for Player 12.
Preserve trigger.

Where # is 1-7, depending on which vulture they picked.

Also, whenever they leave the vehicle just set custom score to 0 (so it doesn't think they lost the vulture). If you need a location on the vultures, make one for each player instead of each vulture.
Report, edit, etc...Posted by TRiGGaMaSTa on 2005-03-13 at 22:33:21
Or just give each vulture it's own location, but make it too small to be touched by otehr units, such as using SF to shrink it to a small grid. Then have each location centering on that vulture at that location.

Then you have a location constantly center on the unit who will enter, and when it brings to the car give the car to that player.

When all players bring exactly 0 vulture to "X" location, create vulture at spawn "X" and move location labled "X" on vulture at spawn "X".

Why wouldn't that work.
Report, edit, etc...Posted by illusion(SS) on 2005-03-13 at 22:37:14
ill try all of your sugestions. thanks people
QUOTE
thats true.. but would it matter since its the same vehicle and the same triggs on the location?

say that a vulture bumps into another and the locations swap.. it still gonna work when you bring a marine to it and it will load , no?

thats not the problem, the problem is that the locations wont swap, its if that they both go on one vehicle.
Report, edit, etc...Posted by TheOddAngel on 2005-03-13 at 22:41:32
Give YOUR unit a location and when you bring a vulture owned by the comp to it you remove your unit give the vulture at your location to you cand center the location on it...

When you get out you just give the vulture to the computer and create your unit at the location... Then center your location on your unit.
Next Page (1)