You're welcome!

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuotecharname == ""
QuoteIt would be nice to have strings similar to C#/VB6 instead of using StrCpy(), etc.
QuoteHoping that CJ didn't add it without me noticing
QuoteWhat was the bit at the start of the original script about...
Quote
The "DisplaySpeech" makes the mouse pointer go into thinking mode (can't tell the player character to do anything). It's not that bad because the player character will still move and do what he was doing before the "DisplaySpeech", but it would be nice to fix if possible.
// main global script
function myDisplaySpeech(int charid, string text) {
int oldmode = GetCursorMode(); // save current cursor mode
SetCursorMode(7); // change cursor mode to wait
SetMouseCursor(oldmode); // change wait mode cursor graphic to previous mode
DisplaySpeech(charid, text);
SetDefaultCursor(); // change wait mode cursor graphic back to default sprite
SetCursorMode(oldmode); change cursor mode back to previous mode
}
// Main header script
import function myDisplaySpeech(int charid, string text); // to make function available in room scripts
// main global script file
int guimb; // stores mouse button clicked on gui
function on_event(int event, int data) {
//...
if (event == GUI_MDOWN) { // if mouse clicked over a gui
if (IsButtonDown(LEFT)) guimb = LEFT; // if left mouse button pressed, store it in variable
else if (IsButtonDown(RIGHT)) guimb = RIGHT; // if right mouse button pressed, store it in variable
else guimb = 0; // if pressed any other buttons, reset variable
}
//...
}
function interface_click(int interface, int button) {
//...
if (interface == NAMEOFGUITHEINVENTORYISON) {
if (button == NUMBEROFTHEINVENTORYCONTROL) {
if (guimb == RIGHT) // if right mouse button was pressed
on_mouse_click(RIGHTINV); // call on_mouse_click function for RIGHTINV action
}
}
//...
}
QuoteThe first SoundBlaster to use soundfonts is, as far as I know, the SB Live! Series.
QuoteDoes anybody know of any free solutions?
QuoteSince I'm here, I'm curious as to whether there's a room limit. There's nothing about it in Game Statistics.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.453 seconds with 15 queries.