This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ja:add_character [2020/05/26 22:51] – justin | ja:add_character [2020/05/27 16:35] – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
FIXME **このページはまだ完全には、翻訳されません。翻訳の完了を支援して下さい。**\\ // | FIXME **このページはまだ完全には、翻訳されません。翻訳の完了を支援して下さい。**\\ // | ||
- | ======Add Character====== | + | ======キャラクターを追加====== |
---- | ---- | ||
- | Adds a [[character]] to the specified | + | [[map|マップ]]内の指定された[[tile|タイル]]に[[character|キャラクター]]を追加します([[tile|タイル]]がまだ別の[[character|キャラクター]]で占められていない場合)。[[entity|エンティティ]]IDはオプションで、指定した場合は新しい[[character|キャラクター]]に割り当てられます。 |
- | ====Signature:==== | + | ====構文:==== |
<code python> | <code python> | ||
add_character(model_name, | add_character(model_name, | ||
</ | </ | ||
- | ^Argument^Description^Type^Required^ | + | ^引数^説明^型^必須/ |
- | |model_name|Model to use for the new [[character]].|[[String]]|Yes| | + | |model_name|新しい[[character|キャラクター]]に使用するモデル。|[[string|文字列]]|必須| |
- | |tile|ID or [[coordinate]] of the [[tile]] | + | |tile|[[character|キャラクター]]が配置される[[tile|タイル]]のIDまたは[[coordinate|座標]]。|[[string|文字列]], [[coordinate|座標]]|必須| |
- | |entity_id|Unique | + | |entity_id|割り当てる一意の[[entity|エンティティ]]ID。|[[string|文字列]]|オプション| |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | The [[Remove Entity]] function can be triggered later to remove a [[character]] | + | 後ほど[[remove_entity|エンティティの削除]]関数を実行すれば、キャラクターの追加関数でシーンに追加された[[character|キャラクター]]を削除することができます。 |
</ | </ | ||
- | ====Example:==== | + | ====使用例:==== |
<code bauxite> | <code bauxite> | ||
add_character(" | add_character(" | ||
</ | </ | ||
- | //Results:// A purple slime will be added to the [[map]] | + | //結果:// 紫色のスライムが[[map|マップ]]内にある「dungeon_door_01」というIDを持った[[tile|タイル]]の上に追加され、そのスライムには「slime_01」というIDが割り当てられます。 |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Add Character** function to introduce new [[npc|NPCs]] into the scene. After being added, you can use the [[Set Dialogue]] function to assign a [[dialogue]] | + | ** キャラクターを追加 |
</ | </ | ||
Line 34: | Line 34: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Editor Node:==== | + | ====エディターノード:==== |
{{: | {{: | ||
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Visual Demo:==== | + | ====ビジュアルデモ:==== |
{{: | {{: | ||
</ | </ |