Changes
Page history
Added title bar, added colons to headers. Removed double title.
authored
Oct 20, 2023
by
Dante
Show whitespace changes
Inline
Side-by-side
skills/mechanics/setcollidable.md
View page @
2c4209df
## Mechanic: SetCollidable
====================
## Description:
Sets if the target of the mechanic should have a collidable hitbox or not.
<br>
The result is equivalent to the
[
Collidable
](
/Mobs/Options#collidable
)
Option.
## Attributes
## Attributes:
| Attribute | Aliases | Description | Default Value |
|----------------|-----------------|----------------------------------------------------|---------------|
| collidable | state, value, c | Sets if the mob is collidable or not | false |
## Examples
In this example, the mob will permanently become not collidable once it receives a source of damage
## Examples:
In this example, the mob will permanently become not collidable once it receives a source of damage.
```
yaml
ExampleMob
:
Type
:
ZOMBIE
Skills
:
-
setcollidable{c=false} @self ~onDamaged
```
##
In this example, the mob will apply an aura to itself. For the duration of the aura, the mob will be non collidable.
```
yaml
ExampleMob
:
...
...
...
...