Difference between revisions of "Papyrus Naming Conventions"

Updated URL
imported>Domius
(Created page with "== Naming Convention used in Events: == ---- *Generally: * a --> function argument * k --> object * b --> boolean * i --> integer * f --> float * s --> string * p --> pointe...")
 
imported>Google0011
(Updated URL)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Naming Convention used in Events: ==
----
*Generally:
*Generally:
* a --> function argument
* a --> function argument
Line 12: Line 8:
* p --> pointer (carryover from internal code, inconsistency, should not be used)
* p --> pointer (carryover from internal code, inconsistency, should not be used)
* r --> reference (carryover from internal code, inconsistency, should not be used)
* r --> reference (carryover from internal code, inconsistency, should not be used)
Example:
Function MyFunction(int myNum, akActionRef)
ak = Function Argument Object.


SmkViper helped flesh out this list.
SmkViper helped flesh out this list.
Line 22: Line 22:
* ReferenceAlias properties always have the "Alias_" prefix.
* ReferenceAlias properties always have the "Alias_" prefix.


  ''source: http://afkmods.iguanadons.net/index.php?/topic/4417-papyrus-naming-conventions/''
  ''source: https://www.afkmods.com/index.php?/topic/4417-papyrus-naming-conventions/''
  ''There might be more in Fallout 4, these are from Skyrim''
  ''There might be more in Fallout 4, these are from Skyrim''


----
----
[[Category: Scripting]]
[[Category: Papyrus]]
[[Category: Papyrus_Language_Reference]]
Anonymous user