Difference between revisions of "Call image data"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Example)
(Example)
Line 19: Line 19:
 
==Example==
 
==Example==
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
  <span style='color:blue'>0:    </span><span style='color:green'>set_floor_handler 00000000 100 </span><span style='color:orange'>//Sets the function to be loaded when arriving on the floor</span>
+
  <span style='color:blue'>0:    </span><span style='color:green'>set_floor_handler 00000000 100 </span><span style='color:orange'>//Sets the function to be loaded when arriving on the specified floor</span>
 
  <span style='color:blue'>100:    </span><span style='color:green'>Call_image_data 1000 <span style='color:orange'>//Image data to be called at the desired function (Brings up a file load window)</span>
 
  <span style='color:blue'>100:    </span><span style='color:green'>Call_image_data 1000 <span style='color:orange'>//Image data to be called at the desired function (Brings up a file load window)</span>
 
  <span style='color:blue'>1000:          </span>HEX: <span style='color:orange'>//The data in this function will be automatically generated when you choose the image to load in function 100.</span>
 
  <span style='color:blue'>1000:          </span>HEX: <span style='color:orange'>//The data in this function will be automatically generated when you choose the image to load in function 100.</span>

Revision as of 03:22, 8 December 2020

Syntax

Syntax: Call image data XXXXXXXX, Function

  • Function = Function that calls the image data
  • x = Function # that contains the image data (auto generated by the function itself)

Use

Used to inject an image into a quest. Image is displayed on the object "image board", only available in Pioneer 2

NOTE: Quests only support 1 image per quest. Supported file types listed below. Make images a perfect square. Ex. 2x2 | 24x24

Dreamcast/PCv2 - .pvm

Gamecube - .gvr

Xbox/Blue Burst - .bmp

Example


0:     set_floor_handler 00000000 100 //Sets the function to be loaded when arriving on the specified floor
100:     Call_image_data 1000 //Image data to be called at the desired function (Brings up a file load window)
1000:          HEX: //The data in this function will be automatically generated when you choose the image to load in function 100.

Also see

set_floor_handler