SetVulnerability function
Control if this fort_character can be damaged.
Verse using statement |
using { /Fortnite.com/Characters } |
SetVulnerability<public>(Vulnerable:logic)<reads><writes><allocates>:void
Parameters
SetVulnerability takes the following parameters:
| Name | Type | Description |
|---|---|---|
Vulnerable |
logic |
Attributes and Effects
The following attributes and effects determine how SetVulnerability behaves and how you can use it in your programs. For the complete list of attribute and effect specifiers, see the Specifiers Page.
| Attribute | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
| Effect | Meaning |
|---|---|
reads |
This effect indicates that the same inputs may not always produce the same output. The behavior depends on factors external to the specified inputs, such as memory or the containing module version. |
writes |
This effect indicates that it may change values in memory. |
allocates |
This effect indicates that it may instantiate an object in memory. Allocating unique classes requires the allocates specifier. |