The Control Code System gives you the power to script cutscenes, dialogue and special FX the way YOU want.
Features:
Fast and Easy
Setting up scripting has never been easier!
Example of Registering a Control Code (Game Start)
cc_code_register("dialog", CCType.Object, objBasicDialogueBox);
Example of Scripting (NPC Create Event / Room Creation Code)
/// Setup Dialogue Block
block = cc_block_start();
cc_block_add(block, "dialog", "Welcome the basic control code system test!");
cc_block_add(block, "dialog", "As you can see, this system makes it a breeze to make dialogue systems!");
cc_block_end(block);
Example of Executing Dialogue Block (Hero to NPC Collision Event)
/// Press 'Space' or 'Z' to talk to 'objNPC'
if (keyboard_check_pressed(vk_space) || keyboard_check_pressed(ord("Z")))
{
// If the Player object is not talking. (ie. Not running a process)
if (cc_process_find_id_by_self(id) == -1)
{
// Creates a process using the OTHER objects 'block' variable
// ('block' variable holds all the dialogue)
cc_process_create(other.block);
}
}
End User Licence Agreement (EULA).