Home   Help Search Login Register  

Author Topic: making stuff indestructable  (Read 1019 times)

0 Members and 1 Guest are viewing this topic.

Guru

  • Guest
making stuff indestructable
« on: 01 Oct 2002, 06:50:28 »
1 trigger set to:
-
size    x=10000  y=10000
-
anybody
-
present
-
repeating
-
condition:(getdammage ur-dudes-name >.1)
-
activation:ur-dudes-name setdammage -.1
-
i use this mostly for building ive placed an i dont want to blow up, but will work on anything i think.
hope this helps someone took me a while messing round to figure out    :cheers:
« Last Edit: 01 Oct 2002, 14:01:22 by Guru »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:making stuff indestructable
« Reply #1 on: 01 Oct 2002, 18:44:19 »
If the trigger doesnt have This in the codition then theres no need to set the detection selection and size of the trigger.

GeneralCoder

  • Guest
Re:making stuff indestructable
« Reply #2 on: 01 Oct 2002, 20:56:51 »
I once maked same kinda script but it could keep the player alive becose the ending screen came too fast, can that?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:making stuff indestructable
« Reply #3 on: 01 Oct 2002, 21:17:25 »
There is no trigger or script that will definately keep a unit alive.  Ther is always the possibility of a one hit kill, ie head shot or explosion.  These will always kill the unit no matter what activation the trigger is set to, or time a looped script cycles.

IF you want to try your best to keep a unit alive then you can use a script and cycle it every 0.0000000001 seconds.  This still wont stop a one shot kill.

Guru

  • Guest
Re:making stuff indestructable
« Reply #4 on: 02 Oct 2002, 00:47:55 »
ok ill try that .ooooooooo1 thing  ;D
im on a learning curve here ,and just starting to grasp whats happening and how it all works.my coding skills are whats lacking. But i must say i have learned alot reading these forums.you guys are doing a great job for the ofp community here. I would be lost without these forums.    a big hearty thx to all, For all your help directly and indirectly.And because im a fanatic ill be searching everywhere for scripts and if i find 1 i havent seen here. ill post it.    
-
p.s. i got an idea for a for a script that gets a "AI" driver in a vehicle to do a "rockford" thats where car backs-up fast spins around 180 an keeps going anyone got any ideas?
-
ill mark this thread as solved now     ;D