Properties: Difference between revisions
Jump to navigation
Jump to search
m (Remove inaccurate cleanup note) |
m (→EMP Sensitive) |
||
Line 22: | Line 22: | ||
==EMP Sensitive== | ==EMP Sensitive== | ||
This item will deactivate if hit by an EMP blast, usually from [[Electromagnetic | This item will deactivate if hit by an EMP blast, usually from [[Electromagnetic Pulse]] or an EMP grenade. | ||
For modding purposes, this property usually corresponds to having an <code>IsEMPSensitive</code> attribute of <code>true</code> on an appropriate object part. There are several such parts; refer to <code>ObjectBlueprints.xml</code> for examples. There is a generic base class that supports parts with involved conditional behavior, called <code>IActivePart</code>; see [[Modding:Active Parts]] for details. <code>IsEMPSensitive</code>is a field on that class. | For modding purposes, this property usually corresponds to having an <code>IsEMPSensitive</code> attribute of <code>true</code> on an appropriate object part. There are several such parts; refer to <code>ObjectBlueprints.xml</code> for examples. There is a generic base class that supports parts with involved conditional behavior, called <code>IActivePart</code>; see [[Modding:Active Parts]] for details. <code>IsEMPSensitive</code>is a field on that class. |