User Tools

Site Tools


set_entity_light_color

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
set_entity_light_color [2020/05/03 10:54] justinset_entity_light_color [2021/04/21 18:50] (current) justin
Line 20: Line 20:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-set_entity_light_color(self, color[255, 0, 255], 1)+set_entity_light_color(self, color[255, 0, 255], 1);
 </code> </code>
 //Results:// The [[entity]] to which the [[script]] is attached (i.e. "self") will have the [[color]] of its light change to magenta over a duration of one second. //Results:// The [[entity]] to which the [[script]] is attached (i.e. "self") will have the [[color]] of its light change to magenta over a duration of one second.
Line 35: Line 35:
  
 <WRAP half column> <WRAP half column>
-====Visual Demo:==== +====Visual Demo:====
 {{:wiki:set_entity_light_color_demo.gif?nolink|}} {{:wiki:set_entity_light_color_demo.gif?nolink|}}
 </WRAP> </WRAP>
set_entity_light_color.txt · Last modified: 2021/04/21 18:50 by justin