User Tools

Site Tools


revive_character

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
revive_character [2020/02/04 11:32] – created justinrevive_character [2020/02/04 19:39] justin
Line 5: Line 5:
  
 ====Signature:==== ====Signature:====
-<code python>+<code bauxite>
 revive_character(character, heal_amount) revive_character(character, heal_amount)
 </code> </code>
Line 14: Line 14:
  
 ====Example:==== ====Example:====
-<code lua>+<code bauxite>
 revive_character(player, player.stat["max_hp"] / 2) revive_character(player, player.stat["max_hp"] / 2)
 </code> </code>
Line 20: Line 20:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Revive Character** function in the "Player is Defeated" global event script to revive the player character and return them to a house or base.+Use the **Revive Character** function in your "Player is Defeated" global event script to revive the player character and return them to a house or base.
 </WRAP> </WRAP>
  
revive_character.txt · Last modified: 2021/04/21 18:47 by justin