OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Killzone on 08 May 2004, 04:12:35
-
Hi
Is there a way to report dammage of an object on the map (like a building) using the object I.D.'s?
I tried:
getdammage object 944 >.9
hint" building was destroyed"
Thanks in advance for the help ;D
-
I think its gotta to be put into a script. I know how regular editor placed objects are getdammaged but not ids. :(
A trigger might work too come to think of it. :)
Put activated by anyone and make sure someone is there to activate it. In condition put
getdammage object 944 >.9
and in activation field put
hint "Building is destroyed!"
-
it worked in a triggers.
Thanks alot ;) ;D
-
Just in case you didn't know - i'm sure it's not common to many
ppl ;D
You can group a trigger to a static object like a house on the
map, and then the trigger activation box changes to: static object
guess what's your trigger list then
Anywayz, i just tried it out on Malden with your method,
to make sure it still works:
trigger:
condition: getDammage object 15127 > .9
onActivation: hint "burn baby burn"
:for ya info - object 15127 is the fuel station at LePort
at southeast Malden
Then i took a Bradley from Rudedogs today's released
pack - fired a tow into the fuel station and whoooop:
it said: pling - "burn baby burn"
~S~ CD
-
Group to static objects ehh?
I think that one is going in the vault. :afro:
-
Group to static objects ehh?
I think that one is going in the vault. :afro:
Soz- can't follow that phrase - maybe it's because i'm from Austria
and it doesn't exist in me german language - or maybe it's because
my brain is just too full of OFP stuff ;D
~S~ CD
-
Weird thing about english language is that we have all these phrases that mean diff things like
Put it in the vault : actually put it in the vault
OR put the idea in my head
My spainsh teacher strggles constantly with this :thumbsup:
-
lol - yeah - my dictionary offered me a few things for vault
similar to: cellar - wine-cellar - groove (i mean the one where
the zombies cummin from) and some more
Just weren't sure about it, but i had already some thoughts
on how you meant it as explained now :D
wine is stored in the wine cellar - static objects r stored in your
head - or was it the other way around (j/k) ;D
ok, think i already posted somewhere an hour ago that i'm
gonna get some sleep now - will do so NOW :)
~S~ CD