Prerequisites
Game Version
Bug Description
The OCLSpecialPower module has the option to set CreateLocation = USE_OWNER_OBJECT, like so:
Behavior = OCLSpecialPower ModuleTag_ExamplePower
SpecialPowerTemplate = SuperweaponCrateDrop
OCL = SUPERWEAPON_CrateDrop
CreateLocation = USE_OWNER_OBJECT
End
The intended effect of this, in the original devs' words:
;SCRIPTED SUPPORT: These special powers are triggered directly
;from the transport without creating a transport. This is done
;via new code support and CreateLocation USE_OWNER_OBJECT --
;which also prevents creating the payload transport.
The problem arises when this is actually scripted and used. In vGEN, this works exactly like intended. You place the object, script it to fire a power and it will do so. No issues.
In ZH however, the object will spawn a new transport nearby that will perform the special power. The original object will do nothing.
Reproduction Steps
Load this map and open it both in vGEN and ZH and observe the difference. The originally placed plane is flashing white for extra clarity what is what.
NB: the behavior of the crates is a data difference and not relevant for this report
Additional Context
No response
Prerequisites
Game Version
Bug Description
The
OCLSpecialPowermodule has the option to setCreateLocation = USE_OWNER_OBJECT, like so:The intended effect of this, in the original devs' words:
The problem arises when this is actually scripted and used. In vGEN, this works exactly like intended. You place the object, script it to fire a power and it will do so. No issues.
In ZH however, the object will spawn a new transport nearby that will perform the special power. The original object will do nothing.
Reproduction Steps
Load this map and open it both in vGEN and ZH and observe the difference. The originally placed plane is flashing white for extra clarity what is what.
NB: the behavior of the crates is a data difference and not relevant for this report
Additional Context
No response