アットウィキロゴ
Wesnoth WML Wiki
掲示板 掲示板 ページ検索 ページ検索 メニュー メニュー

Wesnoth WML Wiki

UtilWML

最終更新:

Bot(ページ名リンク)

- view
メンバー限定 登録/ログイン

UtilWML


予め定義されているユーティリティマクロ (Predefined utility macros)


There are many ready macros defined in data/utils.cfg that are always included.
data/utils.cfgにおいて多くマクロが用意されており、これは常にインクルードされます。

Many are relatively simple shortcuts like one-liners for setting variables but there are macros for more complex tasks as well, such as modifying properties of existing units or moving units around on the map.
これらは変数設定用の、“ワンライナー”風の比較的シンプルなショートカットです。
これらのマクロは複雑なタスクもうまく処理できます。
例えば、マップ上で存在しているユニットや移動しているユニットの状態など(properties)を変更できます。

For an exact description of what each macro does, see data/utils.cfg.
マクロの動作の正確な説明に関しては、data/utils.cfgを見てください。



マクロについて (Macro Descriptions)


We no longer maintain reference documentation on the utility macros by hand. Instead, as of 1.3.2, there is an automatically generated page made from comments embedded in the macro source code.
ユーティリティマクロに関するリファレンスドキュメントは、長らくメンテナンスされていません。代わりに、ver1.3.2の、マクロのソースコードに埋め込まれたコメントから自動生成したページがあります。



関連項目 (See Also)

最近更新されたスレッド
ウィキ募集バナー