HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

ONE ULTRA NOOB Question

09-28-2003, 06:37 PM#1
Sigma VX
I feel kinda of a noob but I guess I am a noob.. Well the question it how do you make a Region follow a unit I've done it before but that was one year ago.....
09-28-2003, 07:25 PM#2
Shiik
Well, i know of one way u could do it. Have a trigger like this:

-EVENTS
-Time - Every 0.50 seconds of game time

-ACTIONS
-Region - Center region X on (position of( unit)


Of course, ive found that for some reason it doesnt work quite right. But there is an easier way to do what u want to do.

You want someting to happen by the unit, or on the unit, right? So, in the trigger, instead of telling it to do what you want it to do in the region, just tell it to do it at the position of unit. Its a lot simpler that way. For the event, just use: Unit within range. I could explain this easier if u tell me what u want to do. :infth:
09-28-2003, 07:42 PM#3
Sigma VX
OH i was just going to make the region follow the unit than another that makes units at the region following the unit..
09-28-2003, 07:52 PM#4
Sigma VX
Sorry for the double post but forget the other question I was to idoitic to look.. but my new question is how do you make a trigger turn on only when a certain unit is still alive and it turns off when the units is dead until the until is revive.
09-28-2003, 08:41 PM#5
Myster Mystery
For your first question-
[code]
Untitled Trigger 001
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Region - Center Region <gen> on (Position of (unit))

2nd Q

Unit
Events
Conditions
((unit) is alive) Equal to True
Actions
09-28-2003, 09:12 PM#6
AllPainful
For the "Turn Off" trigger, try:
Code:
Event:
  Unit Dies
Condition:
  Dieing unit equal to (***)
Action:
  Turn off trigger "###"

Put your unit where the *** are and the name of the trigger you want turned off where the ### are...
09-28-2003, 10:15 PM#7
Ekkruker
Quote:
Originally posted by AllPainful
For the "Turn Off" trigger, try:
Event:
Unit Dies
Condition:
Dieing unit equal to (***)
Action:
Turn off trigger "###"

Put your unit where the *** are and the name of the trigger you want turned off where the ### are...


How about without the conditions...

Event:
Specific Unit Event: Unit dies
cond:<none>
Action:
Turn off trigger soandso
09-29-2003, 11:01 AM#8
HEZZA
Im crap at triggs i give wrong noob advice, tell me
WHY would u want a region to follow a unit?
like so if an enemy cam near so and so would happen??????