Editing AddNewEffect

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Function
{{Function
  |origin = JIP
  |origin = JIP
  |summary = Adds a new effect-entry to the effect list of the specified ingestible/object effect/actor effect, with the specified parameters.
  |summary = Adds a new effect to the effect list of the specified ingestible/object effect/actor effect, with the specified parameters.
  |name = AddNewEffect
  |name = AddNewEffect
  |returnType = effectCount:int
  |returnType = effectCount:int
Line 36: Line 36:
==Notes==
==Notes==
*<i>range</i> and <i>area</i> are optional, and are defaulted to 0.
*<i>range</i> and <i>area</i> are optional, and are defaulted to 0.
*If the effect-entry was successfully added, the function will return the new effect-count, and -1 otherwise.
*If the effect was successfully added, the function will return the new effect-count, and -1 otherwise.
*When adding an effect to an armor effect or an actor ability, the armor must be re-equipped/the ability must be re-added for the effect to apply.
==See Also==
==See Also==
*[[RemoveNthEffect]]
*[[RemoveNthEffect]]
[[Category:Functions_(JIP)]]
[[Category:Functions_(JIP)]]
[[Category:Effect Functions (JIP)]]
[[Category:Effect Functions (JIP)]]

Please note that all contributions to the Fallout3 GECK Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see GECK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)