I was hoping that someone could tell me if there was a LUA function that forces people out of an armed building with positions. Because when I destroy it, the map crashes, and I'm pretty sure it's because I have AI in there and I placed it in Zero Editor (and therefore is not treated like an ordinary vehicle - also it is, by definition, a building, not a vehicle). So anyway, I'm trying to make it so that the people inside are either killed or ejected before I destroy the thing. Possible?
Maybe I'm going about this the wrong way. I mean, I want them to be one-time vehicles, but there must be some way of making it behave like a destroyed vehicle when it is brought down(mainly killing everyone inside).
Exit the Armed Building
Moderator: Moderators
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Exit the Armed Building
What explosion effect are you using? If the game can't find it it will CTD.
Try commenting out the explosion effect in the ODF and see if that makes a difference
Try commenting out the explosion effect in the ODF and see if that makes a difference
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
Re: Exit the Armed Building
Actually, it didn't have an explosion. So I made one, refrenced it, and tried again. It exploded fine (I saw the effect happen), and then it crashed. Before the effect was finished, but I saw it start. I'm not sure I know what that means.FragMe! wrote:What explosion effect are you using? If the game can't find it it will CTD.
Try commenting out the explosion effect in the ODF and see if that makes a difference
Here's the odf for the armed building:
Hidden/Spoiler:
Hidden/Spoiler:
