Modify Transform on Event LPK_ModifyTransformOnEvent.cs

This component can be added to any object to cause it to modify an object's Transform properties upon receiving an event.

Suggested use:

Modify an object or set of object's size and position in the scene.

Examples found in: Project 5

Components
Property Type Description Default Value
Component Properties
Target Modify Objects Array of Objects Tagged object(s) whose transform properties will be modified. Set to owner by default if this is empty. 0
Transform Mode LPK Transform Mode How the change in the transform component will be applied. WORLD
Modifications
SET LPK Numeric Modify Mode What values to assign to the chosen property. N/A
ADD LPK Numeric Modify Mode What values to add to the chosen property values. N/A
SUBTRACT LPK Numeric Modify Mode What values to subtract from the chosen property values. N/A
MULTIPLY LPK Numeric Modify Mode What values to multiply the chosen property values by. N/A
DIVIDE LPK Numeric Modify Mode What values to divide the chosen property values by. N/A
COPY
Copy Target Object Object whose visible flag will be copied to the recipient's property value. Only used if mode is set to copy. Default to self if this and the tag field are left unset. None
Copy Tag Tag Object whose property value will be copied to the recipient's property value. Only used if mode is set to copy. Note this will only affect the first object with the tag found. None
Event Receiving Info
Event Trigger LPK Event Object Which event will trigger this component's action. None
Debug Properties
Print Debug Info Boolean Toggle console debug messages. False
Label String Notes for the user about this component. This does nothing to the game or build. None