User Tools

Site Tools


add_character

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
add_character [2018/03/08 19:02] justinadd_character [2018/03/16 09:35] justin
Line 4: Line 4:
 Adds a character to the specified tile within the map (if the tile is not already occupied by another character). The entity ID is optional and will be assigned to the new character if supplied. Adds a character to the specified tile within the map (if the tile is not already occupied by another character). The entity ID is optional and will be assigned to the new character if supplied.
  
 +====Signature:====
 <code python> <code python>
 add_character(model_name, tile_id, entity_id) add_character(model_name, tile_id, entity_id)
Line 14: Line 15:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-The [[Remove Entity]] function can be triggered later to remove a character that was previously added to the scene with the [[Add Character]] function.+The [[Remove Entity]] function can be triggered later to remove a character that was previously added to the scene with the Add Character function.
 </WRAP> </WRAP>
  
add_character.txt · Last modified: 2023/01/02 21:15 by justin