Home   Help Search Login Register  

Author Topic: totally destroying objects in game  (Read 1043 times)

0 Members and 2 Guests are viewing this topic.

Nobby

  • Guest
totally destroying objects in game
« on: 22 Dec 2002, 02:47:27 »
Alright, got a problem here goes..
How do you completely destroy objects, such as the wire fence, whilst in game?
Example, An enemy camp is completely surrounded by that wire fence, so the AI can't get in. How do I place some kind of pipebomb to blow a section of the fence and give the AI access to the camp?
Heres what I've done so far...
"AI guy runs up to fence... unitname fire ["Put", "Pipebomb"]...Set a trigger for fence to deletevehicle this when bomb explodes...However, AI units still see the fence as being there and will not cross!
How do I rectify this?

Any help will be mucho appreciated.

Cheers.

Azraell

  • Guest
Re:totally destroying objects in game
« Reply #1 on: 22 Dec 2002, 13:47:46 »
i whip 1 up of my own, for better reference in solving the prob and get back to you later.....

Offline uiox

  • Contributing Member
  • **
Re:totally destroying objects in game
« Reply #2 on: 22 Dec 2002, 20:09:12 »
Move the object after adds it of course...

Azraell

  • Guest
Re:totally destroying objects in game
« Reply #3 on: 22 Dec 2002, 21:05:09 »
uiox: u make no sense


nobby: i tried it, no go. deleted several parts of wire after explosion to let ai in, nope. moved wire to otherside of island, nope. they refuse to believe the wire is gone....i sliced whole island in half with wire, they relized they couldnt go around and just stopped, even with gaping hole in fence line :-\ .....so i dont know.

Nobby

  • Guest
Re:totally destroying objects in game
« Reply #4 on: 22 Dec 2002, 21:32:45 »
Yeah it is tricky isn't it.
Something else thats weird as well, if you do the "deletevehicle" command before the mission starts so the wire is never there to begin with then the AI don't see it as being there and pass through. Tis v.strange.
Well anyway, cheers for the help azraell, i appreciate it, and if you do come up with any breakthroughs then be sure to let me know.

Cheers

Nobby

Nobby

  • Guest
Re:totally destroying objects in game
« Reply #5 on: 23 Dec 2002, 02:39:26 »
Hey Azreall, just thought of something...

What if the wire never existed in the first place...only in the "createunit" (hoping you know what that means, if not tell me) sense...............that way the AI will think "Oooooo there's no wire there, but we can't get through on account of this wire being in the way".....then when you come to blow it up you "deletevehicle" it and.......voila.....nothing in the way.......next waypoint......mission accomplished.....etc......etc.

For this I'll need to know the OFP name for the "wire" fence, happen to know it?

Cheers.

Nobby.

Azraell

  • Guest
Re:totally destroying objects in game
« Reply #6 on: 23 Dec 2002, 13:54:17 »
more than likley ull want to use camcreate because the createunit  might cause all that lag . ill look it over

mpbm

  • Guest
Re:totally destroying objects in game
« Reply #7 on: 23 Dec 2002, 20:30:05 »
Man, i got exactly the same problem !

Already spent many days trying to figure it out, but came up with nothing yet.

Please !   Anybody must solve this...   Help !

Azraell

  • Guest
Re:totally destroying objects in game
« Reply #8 on: 24 Dec 2002, 14:08:42 »
im already all over it......... 3 wire fences in ocean, setpos them into position with an init script(so itll happen instantly, triggers take a mili sec or 2) deletevehicle during explosion, then men rush on through ;D....i put a dude on a motorcycle ramming the wire tho, with men coming behind him :D..... ill post the little editor mission later....hope u have SEBnampack and atleast 1.90 res(i dont use russians anymore, my "Operation:Flashpoint" is now "Operation:Vietnam "  )

Azraell

  • Guest
Re:totally destroying objects in game
« Reply #9 on: 24 Dec 2002, 14:11:18 »
p.s......  camcreate and createvehicle wasnt working because the created wire wouldnt overlap....if it did ,then it created it too far forward and messed the line up