This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nfextra_modules_common [2025/01/06 13:23] – 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 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. | ||