Home   Help Search Login Register  

Author Topic: Sorry for this very stupid questions but..  (Read 480 times)

0 Members and 2 Guests are viewing this topic.

mcnils

  • Guest
Sorry for this very stupid questions but..
« on: 20 Dec 2002, 23:45:49 »

?you dont hawe time to loose? - goto #2
?you hawe time to read ? - goto #1


#1 ..Im very tired,
and i really need to finish, today, a mission
that i am editing for a multiplayer campain.

These are 2 very newbie questions and maybe (shure)
these questions came up (and hawe been answered) already before.

But right now i dont hawe the energy to search
and its 22.32 here and im very tired like i sayd..  :-X :-X

So someone can please, *mumble* if he has the "know-how",
respond to this 2 basic questions:

#2 I need a mission end trigger that activates if a SPECIFIC unit walks in its zone,
and i need also a mission end trigger that activates when this unit dies.

Thats all,
sorry for these very newB stupid questions.



Good Night ( would be nice *zzzZ zzZ z* :( )
« Last Edit: 20 Dec 2002, 23:47:27 by mcnils »

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Sorry for this very stupid questions but..
« Reply #1 on: 20 Dec 2002, 23:58:22 »
Fortunately, the answers are very easy.

1. Create a trigger and group it to the unit.  Make the trigger detect vehicle (I think that's what it's called), set it to once, and set the area to the appropriate size.  That's it.

2. In your second trigger's Condition field, put the following code:

Code: [Select]
not alive p1
Replace p1[/1] with the name of your unit that you want to check if he's dead.  That's it.

Good luck.
Ranger

mcnils

  • Guest
Re:Sorry for this very stupid questions but..
« Reply #2 on: 21 Dec 2002, 00:20:43 »

hey, that was fast :)
very thx :)



Im not shure for the "detection" script
(never grouped triggers, woah)
but ill try it :D



Plz bring a beer to this man,
'ill offer ;)

Good night now (finally). :P
« Last Edit: 21 Dec 2002, 00:22:02 by mcnils »

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Sorry for this very stupid questions but..
« Reply #3 on: 21 Dec 2002, 00:29:02 »
No problem, Mcnils.

Detecting a unit with a trigger is not a script.  That's one of the basic properties of a trigger.  You can have a trigger detect the presence or lack of presence of a unit, group, or side.  That's what I'm talking about.

Good luck, and happy dreaming.  8)
Ranger