Landmine
This component belongs to the following package:
- com.yahaha.props.traps
Description
This Landmine smart asset warns when the player steps on it, and explodes when the player moves again.
Attribute
| Attribute | Description |
|---|---|
| Detonate Other Bombs | Determines Whether or not other bombs within range are detonated when exploding. Enabled by default. |
| Trigger To Activation Time | The time interval in seconds from when the bomb is triggered to when it is fully activated, allowing for strategic placement and timing. |
| Trigger Object | The YahahaObject used to trigger the activation of the landmine, allowing for precise control over its activation. |
| Explosion Radius | Defines the area of effect for the landmine's explosion. Targets within this radius will be affected by the bomb's damage upon detonation. |
Trigger
Events:
- LandmineEvent.OnLandmineTrigger
- Description:
- An event that fires when Landmine is triggered
- Description:
- LandmineEvent.OnLandmineExplode
- Description:
- An event that is triggered when a Landmine explodes
- Description: