Staredit Network

Staredit Network -> UMS Assistance -> I need jelp with a few triggers
Report, edit, etc...Posted by Forsaken on 2004-09-29 at 23:14:04
I am making an RPG and i have messed up on a few things:

helpsmilie.gif helpsmilie.gif helpsmilie.gif

1. The enemy i have made doesn't attack what iud does on a timer or something so the unit dies in like 5 minutes or so instead waiting around or something i don't really know how to explain it....

What happens is i have a few zerglings in the path i need to take but it is like there is a dark templar killing them before i get to them or something like that....that is the best i can explain that problem.


2. I want to be able to upgrade my units like in the RRPGa heroes path where you go on the beacon and you get the building then you step off of the building and the building goes back to its original owner i don't know how to set that up.

3. and to have the player start at a lower HP like 500/1250 and you have to kill units to upgrade his life what is the trigger to that?

4. and i want a civilian to show up after like i get X amount of kill points or whatever you want to call it and i want to happen every time how do i set that up?

i want to know how to get it to show like every 5000 skill points or so if possible

5. and last but not least when the last boss dies what is the trigger to make the game end?

and thanks to anyone that helps me out smile.gif
Report, edit, etc...Posted by IsolatedPurity on 2004-09-29 at 23:29:18
QUOTE(l)ark2004 @ Sep 29 2004, 10:14 PM)
I am making an RPG and i have messed up on a few things:

                                     helpsmilie.gif  helpsmilie.gif  helpsmilie.gif
                               
1. The enemy i have made doesn't attack what iud does on a timer or something so the unit dies in like 5 minutes or so instead waiting around or something i don't really know how to explain it....

          What happens is i have a few zerglings in the path i need to take but it is like there is a dark templar killing them before i get to them or something like that....that is the best i can explain that problem.

Ummmm? I don't understand.
You need to run an ai script for the units to attack.


QUOTE
2. I want to be able to upgrade my units like in the RRPGa heroes path where you go on the beacon and you get the building then you step off of the building and the building goes back to its original owner i don't know how to set that up.

Make a beacon.
Have a location over the beacon and a seperate location over the building.
Have a trigger.
Player X brings at least 1 unit to beacon location, Give Unit building at building location.
Then another trigger.
Conditionals:
Player X controls at least 1 building at building locaiton.
Player X brings exactly 0 unit to beacon location.
Actions:
Give unit building at building location to neutral player.


QUOTE
3. and to have the player start at a lower HP like 500/1250 and you have to kill units to upgrade his life what is the trigger to that?

http://www.staredit.net/index.php?act=cont...iew&content=129
that should do it.

QUOTE
4. and i want a civilian to show up after like i get X amount of kill points or whatever you want to call it and i want to happen every time how do i set that up?

i want to know how to get it to show like every 5000 skill points or so if possible

Ugh...
P: Humans
C: currentplayer score is 5000 kill points.
A: Create 1 civilian at location for currentplayer
A: Set score custom 5000 for current palyer
A: subtract 5000 kill points.

P: Humans
C: always
A: show leaderboard custom


QUOTE
5. and last but not least when the last boss dies what is the trigger to make the game end

The action is: Victory
I bet ya would have never guessed what that one does. Read through each of the actions and you'll learn what you can do.
Report, edit, etc...Posted by greenreaper on 2004-09-30 at 00:19:43
QUOTE(l)ark2004 @ Sep 29 2004, 10:14 PM)
I am making an RPG and i have messed up on a few things:

                                     helpsmilie.gif  helpsmilie.gif  helpsmilie.gif
                               1. The enemy i have made doesn't attack what iud does on a timer or something so the unit dies in like 5 minutes or so instead waiting around or something i don't really know how to explain it....

      [right][snapback]80901[/snapback][/right]



1. If you want the enemies to attack when a timer hits a certain time..do this.


Trigger
Description:
Timer=Attack
Players:
¤ Computer
Conditions:
¤ Countdown time is exactly _ Seconds
Actions:
¤ Run AI Script: Send units on strategic suicide mission
¤ Preserve Trigger


If the computer can see where the player is...the computer should start attacking whatever is it's enemy.

For the zergling being killed thing....I'm assuming you just want to "rescue" them. If you don't want them being killed..you can do a few things.

1. Enable invincibility for the zergling. That way no one can kill/attack it. You should disable it once you get what you need.

2. Make a "hero" zerglign with lots of armor...so that it won't get damaged that much and when it is "rescued" give the player the souped-down version of the zergling.

3. Give the zergling to a computer and do the "set alliance status at" ai script for the location where the zergling is. That way the player won't see the zergling as an enemy.

4. Use the "set alliance status at" AI Script for the computers so they won't attack the zerglings.

There are many ways to do this...just pick whatever suits you best biggrin.gif
Next Page (1)