set_fuel

lima-1.0b5/lib/help/wizard/coding/objects/set_fuel · 349 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents


Set_Fuel()

Set_Fuel() takes an integer as an argument.
That represents the amount of time a 
light source can stay lit, i.e. eventually
it will burn out.  In your objects
create(), have the following function:

     set_fuel(9999)

Also make sure you inherit M_LIGHTABLE, as 
this is where most of the work for your
light source is done at.


  

Site Stats

Snippets: 1791
Codebases: 571