Difference between revisions of "AddTextReplacementData - ObjectReference"

imported>Fatlenin
imported>Fatlenin
Line 25: Line 25:


== Details ==
== Details ==
There is a standard [http://www.creationkit.com/index.php?title=Text_Replacement| text replacement] system that utilizes Aliases and Globals attached to Quests (and some common things like time of day spans) to do text replacement for things like books, letters, etc.. You DO NOT need to use any scripting (such as this function) in order to do basic text replacement.
There is a standard [http://www.creationkit.com/index.php?title=Text_Replacement text replacement] system that utilizes Aliases and Globals attached to Quests (and some common things like time of day spans) to do text replacement for things like books, letters, etc.. You DO NOT need to use any scripting (such as this function) in order to do basic text replacement.


To replace text you have a token and label pair. For example <Alias.Pronoun=QuestGiver> If QuestGiver was a male that tag would be replaced with "he" if female "she." (Here "Alias" is the token and "QuestGiver" is the label.
To replace text you have a token and label pair. For example <Alias.Pronoun=QuestGiver> If QuestGiver was a male that tag would be replaced with "he" if female "she." (Here "Alias" is the token and "QuestGiver" is the label.


See: [http://www.creationkit.com/index.php?title=Text_Replacement| text replacement] for general overview of how that works.
See: [http://www.creationkit.com/index.php?title=Text_Replacement text replacement] for general overview of how that works.


Using this script function basically allows you to create your own token label for use with a generic token.
Using this script function basically allows you to create your own token label for use with a generic token.
Anonymous user