Staredit Network

Staredit Network -> UMS Assistance -> checking for sipder mines
Report, edit, etc...Posted by sharf on 2006-03-22 at 22:31:54
like the title says is there a way to detect how many spider mines a vulture has? cause whne it has 0 i want it to disapear
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-22 at 23:15:13
Not on a mass scale, no. But you can check how many spider mines there are on the map. Ie.

Bring 1 Vulture to area.
bring 3 spider mines to area

remove vulture.

Or if you want more you can do

bring 2 vulture to area.
bring at least 3 spider mines

Remove vulture
set spider mine count to 3 on remaining vulture.

Not perfect but the best you will get. the 1st one is perfect if you cant get more vultures. Im sure this is possible with EUD's if you want to search the memory for it.
Report, edit, etc...Posted by Kenoli on 2006-03-22 at 23:15:28
Tou can't directly detect how many spider mines are left in a vulture.

You could sorta fake it and detect when the player commands 3 spider mines, but if they die or something it won't work out so well.
Report, edit, etc...Posted by Kyuubi. on 2006-03-23 at 18:50:01
i'm not really getting whats he saying...do you mean that once the vulture has laid 3 mines and then you want the vulture to disappear?

i think you can't set the hanger count on a vulture for spider mines...instead probably remove and create it at its place...

there might be a few methods...like each time a mine appears/or created by a vulture, use a death counter. once theres 3 reset it to 0 and recreate/spawn the vulture
Report, edit, etc...Posted by fritfrat(U) on 2006-03-23 at 18:55:05
One way to do it is to set current player ally to everyone. If current player commands atleast 3 spider mine, remove the vulture, create a new one, and give the mines to a friendly computer that is enemy to the enemies you want.

However, this does create limitations; if it is player vs. player there need to be 4 players and 4 computers, and if it is player vs. computer, there needs to be 1 extra computer for the attacking person. It also makes it so kills are harder to determine, but a possible way would be to have different units or different players (P9-12 would work here as well) and just detect deaths.


In a nutshell, it is a lot easier just to make a beacon for the vulture to step on to create a new one.
Next Page (1)