Jump to content

Recommended Posts

Posted

When i pick up a couple of soldiers in a huey, then fly myself and passengers nicely into a building at topspeed and explode the passengers don't seem to fire the S_EVENT_DEAD or S_EVENT_CRASH event. When i kill them while they're still on the ground the event does fire.

 

Am i doing something wrong here or is this a bug?

-

If man were meant to fly he'd be filled with helium.

Posted

Actually tested it out now and the results were more or less in line with my suspicions. When the infantry "board" the helicopter they don't actually get in it. They just disappear and wait for an action from the helicopter to state it has landed in the disembarking zone. Once that occurs the AI effectively teleport to the new location. I tested it by checking the position of the infantry with the scripting engine, and also checking the status of the group. Once "boarded" the coordinates of the infantry didn't change until the helicopter landed and they disembarked. Even destroying the helicopter mid-flight resulted in the coordinates not changing. It is possible that if a helicopter is destroyed mid flight the infantry group get banished to the Phantom Zone.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Thanks for checking. Simple solution would be if the embarked infantry would inherit the status of the pilot, pilot->dead, infantry->dead. Maybe i can force this somehow as a workaround.

-

If man were meant to fly he'd be filled with helium.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...