[store_unit] unit.description vs unit.user_description

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
governor
Posts: 267
Joined: December 8th, 2006, 12:32 am

[store_unit] unit.description vs unit.user_description

Post by governor »

unit.user_description is the units name. However, I cannot determine what unit.description actually is or does when modified.
Darth Fool
Retired Developer
Posts: 2633
Joined: March 22nd, 2004, 11:22 pm
Location: An Earl's Roadstead

Re: [store_unit] unit.description vs unit.user_description

Post by Darth Fool »

governor wrote:unit.user_description is the units name. However, I cannot determine what unit.description actually is or does when modified.
user_description is what the user sees. Description is what the computer sees. The player can change the user_description whenever they want. If that is done, WML can still filter on description to have specific events happen, or target it with the AI.
User avatar
governor
Posts: 267
Joined: December 8th, 2006, 12:32 am

Post by governor »

Thanks
Post Reply