On receiving an event, modify the properties of the owner sprite, or specified object's sprite.
Suggested use:
This component can be added to any object to cause it to modify an object's Sprite properties upon receiving an event.
Note: If the Target Modify Objects and the Target Tags arrays are left at 0, the owner will automatically be the object modified. If one of them is set to greater than 0, the owner will have to be listed in order to be modified.
Examples found in: Project 1
| Components | |||
|---|---|---|---|
| Property | Type | Description | Default Value | Component Properties |
| Target Modify Objects | Array of Objects | Tagged object(s) whose sprite properties will be modified. Set to owner by default if this is empty. | 0 | Modifications | Visible Properties |
| Visible Mode | LPK Modify Mode | How to modify visibility upon receiving the event. | NONE | Visible Mode - SET |
| Visible | Boolean | New value to set visible flag to be. | False | Visible Mode - COPY |
| Visible 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 |
| Visible 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 | Color Properties |
| Color Mode | LPK Modify Mode | How to modify color upon receiving the event. | NONE | Color Mode - SET |
| Color Value | Color Value | New value to set color to be. | Black - RGB(0,0,0) | Color Mode - COPY |
| Color Copy Target | Object | Object whose color 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 |
| Color Copy Tag | Tag | Object whose color value will be copied to the recipient's color value. Only used if mode is set to copy. Note this will only affect the first object with the tag found. | None | Texture Properties |
| Texture Mode | LPK Modify Mode | How to modify texture upon receiving the event. | NONE | Texture Mode - SET |
| New Texture | Sprite | New sprite to set the texture to. | None | Texture Mode - COPY |
| Texture Copy Target | Object | Object whose texture sprite will be copied to the recipient's texture sprite. Only used if mode is set to copy. Default to self if this and the tag field are left unset. | None |
| Texture 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 | Material Properties |
| Material Mode | LPK Modify Mode | How to modify material upon receiving the event. | NONE | Material Mode - SET |
| New Material | Material | New material to set the material to. | None | Material Mode - COPY |
| Material Copy Target | Object | Object whose material sprite will be copied to the recipient's material sprite. Only used if mode is set to copy. Default to self if this and the tag field are left unset. | None |
| Material 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 |