Home   Help Search Login Register  

Author Topic: Damage control  (Read 994 times)

0 Members and 1 Guest are viewing this topic.

Offline scud

  • Members
  • *
Damage control
« on: 31 Oct 2003, 04:58:58 »
I have a particular space (area) in an object that when player or AI walk into it they will be killed or wounded.

Is this possible with lod settings or is it done with scripting?
Those that know - say nothing. Those that know nothing - tell all.

Adamsjebo

  • Guest
Re:Damage control
« Reply #1 on: 31 Oct 2003, 05:51:53 »
This is easy. All you have to do is create a trigger the size you want, and type this if the init field: this setdammage 1. If you only want it to effect a certain unit, than name that unit  and replace "this" with the unit you want effected.

Offline scud

  • Members
  • *
Re:Damage control
« Reply #2 on: 31 Oct 2003, 06:09:41 »
yeah thats in editor but I want to know if I can do it in the actual model construction
Those that know - say nothing. Those that know nothing - tell all.

Kaliyuga

  • Guest
Re:Damage control
« Reply #3 on: 31 Oct 2003, 06:38:56 »
nope cant be done in the model it will have to be scripted..  

 one nice thing though is that as far as I can tell the distance command detects the distance from the center of the object in question  so you can use a simple 0x0 trigger with the following condition :

 player distance object < .01  

you can use the grid in O2 to gauge the distance


Offline scud

  • Members
  • *
Re:Damage control
« Reply #4 on: 31 Oct 2003, 06:47:55 »
oh well
just a thought


thanx anyway

Those that know - say nothing. Those that know nothing - tell all.