Coug4r Posted March 5, 2016 Posted March 5, 2016 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.
Grimes Posted March 5, 2016 Posted March 5, 2016 Admittedly I haven't tested it, but I wouldn't be shocked if that is normal and to be expected. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Coug4r Posted March 6, 2016 Author Posted March 6, 2016 Yet they crash and die... - If man were meant to fly he'd be filled with helium.
Grimes Posted March 7, 2016 Posted March 7, 2016 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 Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Coug4r Posted March 7, 2016 Author Posted March 7, 2016 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.
Recommended Posts