Home   Help Search Login Register  

Author Topic: height trigger  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

GI-YO

  • Guest
height trigger
« on: 04 Aug 2005, 21:02:06 »
Been a while since I have posted in these parts, but i'm back with more stupid questions  ;D.

1)I want to have a trigger activate when you climb into a church tower (on Everon). story is there is a vicar hiding there, so if you go and look you will find him and he will give you some usefull info. Not sure how to get player height to trigger on its own.

2)I'm making a mission with quite a few small units in it, how do I trigger an objective complete tick when I have killed all the units for one side. (East,West,Civ). All the units have names like E_ptrl1 and E_ptrl2 and so on. Will I need some sort of list?

Thanks for any answers. Happy mission making

GI-YO

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:height trigger
« Reply #1 on: 04 Aug 2005, 21:27:37 »
welll from the first question, you may better use the distance command...

obj1 distance obj2
Operand types:
    obj1: Object
    obj2: Object
Type of returned value:
    Number
Description:
    Compute distance between two objects.

Example:
    player distance leader player

Use it like putting on the "Condition" field of a trigger something like loonA distance LoonB < 5

and for the other question,
Make a trigger, and set it to Ausent, and the side you want to kill, and put it covering wolle area, and when there aren't more units of that side on the area, the trigger will be activated...
« Last Edit: 04 Aug 2005, 22:42:48 by Flauta »

Dane

  • Guest
Re:height trigger
« Reply #2 on: 05 Aug 2005, 05:17:47 »
1. Put in trigger cond: this && getPos player select 2 >= 10, something like that.
« Last Edit: 05 Aug 2005, 05:18:42 by DaneDK »