User Tools

Site Tools


revive_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
revive_character [2020/02/04 19:41] justinrevive_character [2021/04/21 18:47] (current) justin
Line 11: Line 11:
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |character|Character that will be revived.|[[Entity]]|Yes| |character|Character that will be revived.|[[Entity]]|Yes|
-|heal_amount|Amount of health to restore after being revived.|[[Decimal]]|Yes|+|heal_amount|Amount of health to restore after being revived.|[[Number]]|Yes|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-revive_character(player, player.stat["max_hp"] / 2)+revive_character(player, player.stat["max_hp"] / 2);
 </code> </code>
 //Results:// The player is brought back to life with half of their maximum health. //Results:// The player is brought back to life with half of their maximum health.
revive_character.1580874066.txt.gz · Last modified: 2020/02/04 19:41 by justin