Difference between revisions of "Talk:Dissecting the Scripts for Weapon Racks"
Jump to navigation
Jump to search
Talk:Dissecting the Scripts for Weapon Racks (edit)
Revision as of 15:46, 20 December 2013
, 15:46, 20 December 2013→Variables vs. Hidden Literal Properties
imported>Geekofalltrades |
imported>Sclerocephalus |
||
Line 55: | Line 55: | ||
Is there a reason Properties are used in these instances instead of variables? | Is there a reason Properties are used in these instances instead of variables? | ||
--[[User:Geekofalltrades|Geekofalltrades]] ([[User talk:Geekofalltrades|talk]]) 2013-12-15T15:42:35 (EST) | --[[User:Geekofalltrades|Geekofalltrades]] ([[User talk:Geekofalltrades|talk]]) 2013-12-15T15:42:35 (EST) | ||
A hidden property is neither private nor inaccessible from outside the respective script. For example, the Hearthfires BYOHDivertPrefabsScript reads the hidden PlayersDroppedWeapon property from some weapon racks. A hidden property is just literally hidden, i.e. entirely concealed from public view; in other words, if you didn't have the source code of the script to look at, you wouldn't even know of its existence. Of course, it also doesn't appear in the properties window in the CK - which effectively prevents it from being inadvertently manipulated.--[[User:Sclerocephalus|Sclerocephalus]] ([[User talk:Sclerocephalus|talk]]) 2013-12-20T15:46:54 (EST) |