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/27 15:33] – [構文:] michyo | ja:add_character [2020/05/27 15:48] – [例:] michyo | ||
---|---|---|---|
Line 12: | Line 12: | ||
^引数^説明^型^必須/ | ^引数^説明^型^必須/ | ||
- | |model_name|新しい[[キャラクター]]に使用するモデル。|[[文字列型]]|必須| | + | |model_name|新しい[[キャラクター]]に使用するモデル。|[[文字列]]|必須| |
- | |tile|[[キャラクター]]が配置される[[タイル]]のIDまたは[[座標]]。|[[文字列型]], [[座標型]]|必須| | + | |tile|[[キャラクター]]が配置される[[タイル]]のIDまたは[[座標]]。|[[文字列]], |
- | |entity_id|割り当てる一意の[[エンティティ]]ID。|[[文字列型]]|オプション| | + | |entity_id|割り当てる一意の[[エンティティ]]ID。|[[文字列]]|オプション| |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
Line 20: | Line 20: | ||
</ | </ | ||
- | ====Example:==== | + | ====使用例:==== |
<code bauxite> | <code bauxite> | ||
add_character(" | add_character(" | ||
</ | </ | ||
- | //Results:// A purple slime will be added to the [[map]] on the [[tile]] having ID " | + | //結果:// 紫色のスライムが[[マップ]]内にある「dungeon_door_01」というIDを持った[[タイル]]の上に追加され、そのスライムには「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]] to the [[character]] or the [[Set Character Name]] function to change their name. | + | ** キャラクターを追加 |
</ | </ | ||
Line 34: | Line 34: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Editor Node:==== | + | ====エディターノード:==== |
{{: | {{: | ||
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
- | ====Visual Demo:==== | + | ====ビジュアルデモ:==== |
{{: | {{: | ||
</ | </ |