OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: penguinman on 17 Jan 2005, 02:00:54

Title: Interactive Vegitation
Post by: penguinman on 17 Jan 2005, 02:00:54
is there a way to make plant objects more interactive,

like if u walk into it it will make that scracthing sound and will bend back

and if bullets pass through it little leaves and twigs will fall
Title: Re:Interactive Vegitation
Post by: Kaolin on 17 Jan 2005, 10:02:57
ok im in college so i gotta be quick

i dont thinks thats possible on the OFP engine, it may be im not sure but it seems to advanced. How would the scripting work?!!!  ???

Bon nuit, Bon nuit to you all.

   Kaolin
Title: Re:Interactive Vegitation
Post by: XCess on 17 Jan 2005, 11:23:24
using nearestObject... assuming that vegitation has it's own generic class it should work... for walking past bushes it shud be easy.. falling leaves on bullet impact maybe not so easy... adding hit EHs too each bush ID could work but i suppose it would be VERY laggy.