Staredit Network

Staredit Network -> UMS Assistance -> GERNADE
Report, edit, etc...Posted by Atreyu) on 2005-07-08 at 16:07:20
Ok well im making an arena and ive been trying to make a gernade system, but i keep failing so im wondering if there is some ez way to do this where you go to a location it creats a scourge (gernade) and it like would possibly fallow the unit its going to attack so if player 1 creats the gernade and there is an enemy (player 3) could the scourge fallow player 3 until it got into its location and blew up???? or would i have to do it by hand??
Report, edit, etc...Posted by warhammer40000 on 2005-07-08 at 16:11:05
Read some of this topic over, and it should help with your grenade problem.
http://www.staredit.net/index.php?showtopic=14562 Just choose one of the systems somebody mentioned. I hope this helped.
Report, edit, etc...Posted by slayer766 on 2005-07-08 at 16:14:39
Well you could do a grenade system like this:

First you would have to have a location following the player, and the grenade unit.
Then have a Vespene Gas Sack called grenade that you could pick up in the arena, and you would have to command one of those in order to use your grenade.


Trigger
Description:
Player 1
Conditions:
¤ Current player brings at least 1 (unit you use to use grenade) to location "Use grenade"
¤ Current player commands at least 1 grenade
Actions:
¤ Remove 1 grenade for current player at location anywhere
¤ Create 1 grenade at location follow p1
¤ Wait for 5000 miliseconds
¤ Kill 1 grenade for current player at location anywhere
¤ kill all men for computer player at location follow grenade
¤ Preserve Trigger


Or another way would be to just take your unit that your using as a grenade and switch it to a Infested Terran and wait 5000 miliseconds and just simply remove that unit and preserve trigger.
Report, edit, etc...Posted by Atreyu) on 2005-07-08 at 16:16:54
Alright, sounds good thanks guys biggrin.gif
Report, edit, etc...Posted by The_Shattered_moose on 2005-07-08 at 16:22:35
But if you want them to toss a grendade that follows the enemy, use one of the systems Warhammer suggested, but also have something like this:

Trigger
Description:
Make the grenade follow
Players:
¤ The thrower of grenades
Conditions:
¤ Grenade is ready (whatever conditions you need)
¤ Bring 0 grenades to location near player
Actions:
¤ Create 1 grenade at location
¤ Order grenade to move to "enemy"
¤ Preserve trigger

Trigger
Conditions:
¤ Enemy player brings at least 1 men to "grenade tosser"
Actions:
¤ Center location "enemy" on men brought by player X to "grenade tosser"

This will make the grenade follow, integrate it with the other systems in hammas link, and you should be fine. You should also probably add a trigger to have the grenade just go in a random direction (Junkyard dog perhaps?) if there are no enemys near the person tossing grenades.
Report, edit, etc...Posted by Atreyu) on 2005-07-08 at 16:52:58
Hmmmm, by the way does anyone know a map that has a gernade system? so I could see what it would turn out to look like. Anyone know a map?
Report, edit, etc...Posted by LegacyWeapon on 2005-07-08 at 17:02:22
Most people do bombs... The best grenade system would be to find out which way the unit was walking and shoot the grenade out that way (as a ground unit). Then explode after a few seconds.
Report, edit, etc...Posted by Tmac on 2005-07-08 at 22:37:18
that sounds interesting
Report, edit, etc...Posted by KrAzY on 2005-07-09 at 01:51:18
QUOTE(warhammer40000 @ Jul 8 2005, 01:11 PM)
Read some of this topic over, and it should help with your grenade problem.
http://www.staredit.net/index.php?showtopic=14562 Just choose one of the systems somebody mentioned. I hope this helped.
[right][snapback]257380[/snapback][/right]


"Frag" Grenade, does it bounce?
Next Page (1)