Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

Actor health: Difference between revisions

From Cobalt Wiki
m 1 revision imported: Try to import fandom pages (manual dump, 3)
No edit summary
 
Line 12: Line 12:
  local chosenActor = API.getPlayerActor()-- Use the modding API to get the player Actor
  local chosenActor = API.getPlayerActor()-- Use the modding API to get the player Actor
  chosenActor.health = chosenActor.health + 10000 -- Give him lots of health.
  chosenActor.health = chosenActor.health + 10000 -- Give him lots of health.
[[Category:Official_Modding_API]]
__INDEX__