User Tools

Site Tools


display_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
display_image [2024/02/08 13:52] – created justindisplay_image [2024/02/22 21:03] (current) justin
Line 1: Line 1:
-======Function======+======Display Image======
 ---- ----
 (WIP) (WIP)
 +
 +Displays an [[image]] to the player for the specified amount of time. If the duration is not provided or is zero, the player must interact to proceed.
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-function()+display_image(image_name, duration, background_color, stretch_mode)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|image_name| |[[String]]|Yes| 
 +|duration| |[[Number]]|No| 
 +|background_color| |[[Color]]|No| 
 +|stretch_mode| |[[Stretch Mode]]|No|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-function();+
 </code> </code>
 //Results:// //Results://
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Function** function to...+Use the **Display Image** function to...
 </WRAP> </WRAP>
  
Line 26: Line 31:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:function_node.png?nolink|}}+{{:display_image_node.png?nolink|}}
 </WRAP> </WRAP>
  
display_image.1707429130.txt.gz · Last modified: 2024/02/08 13:52 by justin