Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Addons & Mods Depot
»
OFP - Addons & Mods General
(Moderator:
Gnat
) »
Damage control
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Damage control (Read 993 times)
0 Members and 1 Guest are viewing this topic.
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?
Logged
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.
Logged
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
Logged
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
Logged
scud
Members
Re:Damage control
«
Reply #4 on:
31 Oct 2003, 06:47:55 »
oh well
just a thought
thanx anyway
Logged
Those that know - say nothing. Those that know nothing - tell all.
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Addons & Mods Depot
»
OFP - Addons & Mods General
(Moderator:
Gnat
) »
Damage control
Top of page