SE_unitY for the rescuing unit or picking up unit?
Posted: Tue Nov 29, 2022 10:59 pm
SE_unitY()?
Reading current LUA guides this is only for the destroying unit or the detecting sensor for the activating unit SE_unitX().
So my query (and or request?) is can SE_unitY be triggered by the "rescuing" unit as it doesn't seem to trigger unit Y when the unit isn't a weapon or unit X WasPickedUp?
I want the SAR helo unit to collect the rescued units crew and impose limits on the number of rescued and rescues the SAR unit can carry out?
Currently the helo can pick up hundreds of people going from one life boat to the next.
I've tried to think laterally in terms of using a cargo transfer function but have drawn blanks?
How do you get the rescuing unit from a waspickedup event?
Any assistance much appreciated please.
K
Reading current LUA guides this is only for the destroying unit or the detecting sensor for the activating unit SE_unitX().
So my query (and or request?) is can SE_unitY be triggered by the "rescuing" unit as it doesn't seem to trigger unit Y when the unit isn't a weapon or unit X WasPickedUp?
I want the SAR helo unit to collect the rescued units crew and impose limits on the number of rescued and rescues the SAR unit can carry out?
Currently the helo can pick up hundreds of people going from one life boat to the next.
I've tried to think laterally in terms of using a cargo transfer function but have drawn blanks?
How do you get the rescuing unit from a waspickedup event?
Any assistance much appreciated please.
K