Craig Martin

(Official) LUA Scripting Documentation

add_health_effect_history

Add an effect which increases or decreases the context actor’s health over time.


Spec:

add_health_effect_history(
	long points,
	string history_key,
	long millisecs,
	string name)

Parameters


Example

add_health_effect_history(2,"poison",3000)

This example increases the actors health by 2 hitpoints every 3 seconds as long as get_history("poison") ~= 0


Incomplete

This documentation is incomplete


back