Staredit Network

Staredit Network -> UMS Assistance -> Another problem
Report, edit, etc...Posted by Puddin on 2006-11-27 at 22:22:47
Well I'm trying to set the death trigger, but every time the zergling dies, it wont subtract the score, and it won't create the new zergling. I dont get it. helpsmilie.gif

Condition:
Current player suffers exactly 1 death of men

Action:
Subtract 1 point Custom for Current Player
Create 1 Zerg Zergling at Respawn for Current Player
Set deaths for Current Player: Set deaths for men to
confused.gif helpsmilie.gif confused.gif helpsmilie.gif confused.gif
Report, edit, etc...Posted by Zeratul_101 on 2006-11-27 at 22:45:52
the condition needs to be set for zergling. if i recall, 'men' is a variable by itself, its doesn't represent deaths of 'zerglnigs, marines, firebats', it represents men. much in the same way deaths of zerglings is entirely different from deaths of marines.

ADDITION:
ps, tweak the action too, in that case
Report, edit, etc...Posted by Puddin on 2006-11-27 at 22:48:32
Ok, I changed it to "Current Player suffers exactly 1 death of Zergling", lemme test it out real quick.

ADDITION:
...........
Didn't work, lemme try something else...
Report, edit, etc...Posted by Zeratul_101 on 2006-11-27 at 22:50:30
lets start going over the stupid stuff then:

do you have the right zergling(as in you didn't mix up hero and normal versions)
do you have preserve in there?
do you somehow have two zerglings dying at once?
try making it 'at least 1 death of zergling'
Report, edit, etc...Posted by Shocko on 2006-11-27 at 23:06:39
Bound Obstacle 1 = 1 death of pylon, Spawn 1
Bound Obstacle 2 = 2 death of pylon, Spawn 2
Bound Obstacle 3 = 3 death of pylon, Spawn 3

Conditions
{
Command(CurrentPlayer,0,Zergling,Anywhere);
Deaths(Currentplayer,Exactly,1,Pylon);
}

Actions
{
CreateUnitAt(1,Zergling,CurrentPlayer,"Spawn 1");
PreserveTrigger();

Conditions
{
Command(CurrentPlayer,0,Zergling,Anywhere);
Deaths(Currentplayer,Exactly,2,Pylon);
}

Actions
{
CreateUnitAt(1,Zergling,CurrentPlayer,"Spawn 2");
PreserveTrigger();

Conditions
{
Command(CurrentPlayer,0,Zergling,Anywhere);
Deaths(Currentplayer,Exactly,3,Pylon);
}

Actions
{
CreateUnitAt(1,Zergling,CurrentPlayer,"Spawn 3");
PreserveTrigger();

Something as simple as that would work for this, you can use switches as well. (triggers might not be exact, it's off the top of my head)
Report, edit, etc...Posted by Puddin on 2006-11-27 at 23:21:58
QUOTE(Zeratul_101 @ Nov 27 2006, 08:50 PM)
lets start going over the stupid stuff then:

do you have the right zergling(as in you didn't mix up hero and normal versions)
do you have preserve in there?
do you somehow have two zerglings dying at once?
try making it 'at least 1 death of zergling'
[right][snapback]595938[/snapback][/right]

Yes I have the right zerglings
Yes I have preserve trigger
No I don't have 2 Zerglings dying at once
Changed it to at least 1 death, let me try.


ADDITION:
QUOTE(Shocko @ Nov 27 2006, 09:06 PM)
Bound Obstacle 1 = 1 death of pylon, Spawn 1
Bound Obstacle 2 = 2 death of pylon, Spawn 2
Bound Obstacle 3 = 3 death of pylon, Spawn 3

Conditions
{
Command(CurrentPlayer,0,Zergling,Anywhere);
Deaths(Currentplayer,Exactly,1,Pylon);
}

Actions
{
CreateUnitAt(1,Zergling,CurrentPlayer,"Spawn 1");
PreserveTrigger();

Conditions
{
Command(CurrentPlayer,0,Zergling,Anywhere);
Deaths(Currentplayer,Exactly,2,Pylon);
}

Actions
{
CreateUnitAt(1,Zergling,CurrentPlayer,"Spawn 2");
PreserveTrigger();

Conditions
{
Command(CurrentPlayer,0,Zergling,Anywhere);
Deaths(Currentplayer,Exactly,3,Pylon);
}

Actions
{
CreateUnitAt(1,Zergling,CurrentPlayer,"Spawn 3");
PreserveTrigger();

Something as simple as that would work for this, you can use switches as well. (triggers might not be exact, it's off the top of my head)
[right][snapback]595951[/snapback][/right]

The respawn spot is just gonna be the same, so I don't need the pylon things. (It's a small map, and all the obstacles are connected, so I didn't see a need for different spawn areas)

ADDITION:
Hmm, lemme see if that "Current Player brings at most 0 Zerglings to "Anywhere"" Thingy works.. pinch.gif

ADDITION:
Well that didn't work, I'll have to figure things out tomorrow, I have to take care of some things... blink.gif
Report, edit, etc...Posted by Lord-Omega on 2006-11-28 at 11:06:31
try this


Trigger
Description:
Respawn
Players:
¤ player
Conditions:
¤ player commands exactly 0 zerglings
Actions:
¤ create 1 zergling at respawn
¤ subtract 1 from players death of men
¤ preserve trig


Report, edit, etc...Posted by Zeratul_101 on 2006-11-28 at 11:17:16
i kinda wish you would have told me this was a bound...cause units killed by triggers don't add to the death count.

omega's is right, but don't bother with resetting death(mainly because you won't have one), and add in the subtract custom score action.
Report, edit, etc...Posted by Shocko on 2006-11-28 at 16:08:31
What i told you would work, you are obviously doing something wrong if you can't get it. I forgot to take away the leaderboard thing okay that's fine but other then that it should of worked.
Report, edit, etc...Posted by Puddin on 2006-11-28 at 19:11:55
QUOTE(Zeratul_101 @ Nov 28 2006, 09:17 AM)
i kinda wish you would have told me this was a bound...cause units killed by triggers don't add to the death count.

omega's is right, but don't bother with resetting death(mainly because you won't have one),  and add in the subtract custom score action.
[right][snapback]596079[/snapback][/right]

............ disgust.gif
Zeratul, the topic subject's name is "Another problem with me bound map".
Bound map. tongue.gif
Well, let me try Omega's way.

ADDITION:
QUOTE(Shocko @ Nov 28 2006, 02:08 PM)
What i told you would work, you are obviously doing something wrong if you can't get it. I forgot to take away the leaderboard thing okay that's fine but other then that it should of worked.
[right][snapback]596164[/snapback][/right]

Well yeah, it worked earlier this morning. I tweaked around with something, and amazingly it works now. mellow.gif Well, as long as it works I guess. tongue.gif
Report, edit, etc...Posted by Zeratul_101 on 2006-11-28 at 21:16:31
QUOTE(Puddin @ Nov 28 2006, 04:11 PM)
............  disgust.gif
Zeratul, the topic subject's name is "Another problem with me bound map".
Bound map.  tongue.gif
Well, let me try Omega's way.

ADDITION:

Well yeah, it worked earlier this morning.  I tweaked around with something, and amazingly it works now.  mellow.gif  Well, as long as it works I guess.  tongue.gif
[right][snapback]596339[/snapback][/right]


not when you access it from the forum index pinch.gif
Next Page (1)