Game guide:Userstartup.cheat: Difference between revisions

Descriptions are not strictly needed.
imported>K6ka
No edit summary
imported>Welark
(Descriptions are not strictly needed.)
Line 72:
*'''textstring''' is the alias you would like to use. This alias must be unique — no other alias or cheat should be using the same string, or it may not work as intended. (See [http://simswiki.info/wiki.php?title=Game_Help:Sims_2_Cheats this page] for a full list of cheats)
*'''"cheat command"''' is the name of the cheat you wish to assign the alias to.
*'''"short description"''' This is the text that is shown when the player uses the <code>help</code> command in the cheat console. It will provide a short, incomplete list of the cheats in-game, as well as any aliases in the userStartup.cheat file. A brief description follows the listed cheats. The "short description" parameter is that text. Be short and brief, but specific enough so that you will be able to remember what cheat the alias is connected to. This is optional, and the alias will function without it.
*'''"long description"''' is the text the player sees if they use the <code>help</code> command, along with the name of the alias. It can be longer and more specific and detailed than the short description. Like the short description, this is not needed for the alias to function.
 
For example, using the above example, if <code>mon</code> was the alias for <code>moveobjects on</code>, it would be added to the userStartup.cheat file like this:
Line 91:
<pre>
mon -- Allows the player to pick up, move, and delete all and any object in build or buy mode
</pre>
 
If the <code>help</code> command is used and no descriptions were placed in the UserStartup.cheat file, the message will look like this:
 
<pre>
mon -- Aliased to 'moveobjects on <arguments>'
</pre>
 
Anonymous user