Home   Help Search Login Register  

Author Topic: How to detect bridge that break or not?  (Read 390 times)

0 Members and 1 Guest are viewing this topic.

fancalenno

  • Guest
How to detect bridge that break or not?
« on: 28 Jan 2003, 04:53:47 »
Does anyone know how to use trigger to detect bridge that break or not?

thanks

Blacky

  • Guest
Re:How to detect bridge that break or not?
« Reply #1 on: 28 Jan 2003, 15:35:18 »
Hmmm... I think you could do it by looking the bridgeÂ's ID number, but I canÂ't remember how the command line went. IÂ'll try to find it and post it here.

Blacky

  • Guest
Re:How to detect bridge that break or not?
« Reply #2 on: 28 Jan 2003, 16:05:35 »
Ok, try this:
not (alive object ????)

Put the ID number from the editor in ????.

I really donÂ't know if this works, gotta try it.

« Last Edit: 28 Jan 2003, 16:05:51 by Blacky »

fancalenno

  • Guest
Re:How to detect bridge that break or not?
« Reply #3 on: 29 Jan 2003, 03:18:59 »
 
 thanks!

 I made it!     from another forum(ofp)...

  Crate a trigger for each bridge section,and put  
         damage (object 167669) >= 1     in the condition field.

where the 167669 is the object id of the first bridge section (you change this for every section,you can click the button "show ID" to see their ID in the mission editor.)

and in the Activation field of each put:
          bre = true;

then create another trigger and in the Condition field put:
          bre

in Type select End

Do not forget to initialize bre to false first.
      you can initialize this in player's init field!


Blacky

  • Guest
Re:How to detect bridge that break or not?
« Reply #4 on: 31 Jan 2003, 15:13:53 »
You can do it like I did it too.

inCondition field:
not (alive object 167669)
and just put the trigger to loose or end.

See ya around!