This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| nfextra_modules_common [2025/01/06 01:58] – created tiwaz | nfextra_modules_common [2025/01/06 13:50] (current) – [Ⓜ️Explodado] tiwaz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Common ====== | ====== Common ====== | ||
| - | ===== Explodado ===== | + | ===== Ⓜ️Explodado ===== |
| - | Causes explosion at module location or synced objects location | + | Causes explosion at module location or synced objects location. |
| {{ : | {{ : | ||
| Line 13: | Line 13: | ||
| * Explode when killed = Synced objects will cause explosion when they are killed | * Explode when killed = Synced objects will cause explosion when they are killed | ||
| - | ===== Force Push ===== | + | ===== Ⓜ️Force Push ===== |
| This module applies a constant pushing force to anything in its area, in the direction of the module, that fulfills the condition. | This module applies a constant pushing force to anything in its area, in the direction of the module, that fulfills the condition. | ||
| Line 27: | Line 27: | ||
| * Interval = Interval in which the force is applied | * Interval = Interval in which the force is applied | ||
| * Condition = Condition run on objects within the area. Must return true for the force to be applied to the object. _this returns the object | * Condition = Condition run on objects within the area. Must return true for the force to be applied to the object. _this returns the object | ||
| - | ===== Move To ===== | + | ===== Ⓜ️Move To ===== |
| This module incrementally moves synced objects to a random position within the module area. To move the objects the command setPos is used. This means almost any type of object, even other modules can be moved this way. A common use case for this module is moving the artillery barrage module over time to achieve a creeping barrage. | This module incrementally moves synced objects to a random position within the module area. To move the objects the command setPos is used. This means almost any type of object, even other modules can be moved this way. A common use case for this module is moving the artillery barrage module over time to achieve a creeping barrage. | ||
| Line 36: | Line 36: | ||
| * Set direction = Sets the objects direction to the move direction | * Set direction = Sets the objects direction to the move direction | ||
| * Interval = Interval in seconds for how often the object is moved | * Interval = Interval in seconds for how often the object is moved | ||
| - | ===== Object Init ===== | + | ===== Ⓜ️Object Init ===== |
| Sync objects to this module, any object of that type created during the mission will have init code run on it. | Sync objects to this module, any object of that type created during the mission will have init code run on it. | ||
| Line 45: | Line 45: | ||
| * Retroactive? | * Retroactive? | ||
| - | ===== Teleporter ===== | + | ===== Ⓜ️Teleporter ===== |
| Objects synced to this module will have a hold action to teleport the player to a synced location module. | Objects synced to this module will have a hold action to teleport the player to a synced location module. | ||
| Line 63: | Line 63: | ||
| - | ===== Teleporter Location ===== | + | ===== Ⓜ️Teleporter Location ===== |
| This module represents a location. If this module has an area the position of this location will be random within the area. | This module represents a location. If this module has an area the position of this location will be random within the area. | ||