Please post the actual code you're using.
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 MenuQuoteI need to script "wait for move to finish".
Quote from: Pumaman on Sun 02/01/2005 17:44:24Can you give an example?
Quote from: Pumaman on Sun 02/01/2005 17:44:24The reason I haven't done this is that I didn't want to obsolete more functions than necessary, where there wasn't a clear benefit in making the switch.
However, you may be right -- it might be better to get it all over with now and change the lot, rather than coming back in a few months time and deciding to change them after all.
Quote from: Pumaman on Sun 02/01/2005 17:44:24That would indeed be possible now; I'd have to rename PlaySound in order to do so, however. Perhaps this can wait until and if the global functions like PlaySound get objectised.
Quote from: Pumaman on Sun 02/01/2005 17:44:24Unfortunately this is non-trivial to fix... this is one reason why it'd be nice to make everything object-based to clear the global namespace, but it's not something I'm too concerned about at the moment.
Quote from: Pumaman on Sun 02/01/2005 17:44:24
Well spotted -- this happens if a single array is bigger than 32 KB. I'll get it fixed.
QuoteQu'est ce que vous mean by thread?
QuoteI can't quite visualise how animating the character will work because if you want to animate the character throwing a sword attached to the rope whilst in a boat to a lifebuoy...
Quote from: Pumaman on Mon 10/05/2004 21:54:42In the version of AGS that was distributed as a windows installer, it created an association for ".AGSGame" files so that you could double-click the "Edit this AGSGame" file to open the game in the editor.
You can create this association manually if you like, just set up .AGSGame files so that their association is:
c:\path\to\ags\agsedit.exe -shelllaunch "%1"
//put this where you want the name query to pop up
//...
// First, set gui's visibility to "Popup Modal"
GUIOn(MYINPUTBOX);
//...
// main global script file
function interface_click(int interface, int button) {
if (interface == MYINPUTBOX) {
if (button == 0 || button == 1) { // if pressed Enter key in textbox or clicked on OK button
string buffer;
GetTextBoxText(MYINPUTBOX, 0, buffer);
if (StrLen(buffer) < 5) Display("Please enter a name at least 5 characters long.");
else { // entered name is long enough
StrCopy(character[EGO].name, buffer);
GUIOff(MYINPUTBOX);
}
}
}
}
Quotebut I dislike it because of other reasons, for example having to select Walk explicitly in order to walk somewhere, instead of having walk as the default action if the selected area isn't a hotspot, especially if it's a scrolling screen
QuoteUnfortunatley there hasn't been much discussing on this in this thread so far. I wonder if I should start a new thread over at Adventure-related stuff...?
Quote from: Radiant on Tue 28/12/2004 21:35:31
Little bug: GUIs are displayed under 'display' text, but over 'displayspeech' text.
Quote from: Rui "Puss in Boots" Pires on Tue 28/12/2004 22:11:06
Hmmm, but that one's been there for a loong time now, ain't it? I thought it even had it's own tracker entry.
// script for character1: Use inventory on character
if (player.activeinv == 3) { // if used gun item on character
if (gun == 0) { // if character is in no-gun mode
gun = 1; // turn gun mode on
SetCharacterView(JACK, 18); // set view for animation
AnimateCharacterEx(JACK, 1, 3, 0, 0, 1); // play animation blocking (whipping out gun)
ReleaseCharacterView(JACK); // revert to normal view
}
else if (gun == 1) { // if character is in gun mode
gun = 0; // gun mode off
SetCharacterView(JACK, 18); // set view for animation
AnimateCharacterEx(JACK, 2, 3, 0, 0, 1); // play animation blocking (putting away gun)
// ChangeCharacterView(JACK, 1); // <-- View 1 is Roger, no?
ReleaseCharacterView(JACK); // when you don't block the animation, this gets run immediately afterwards
}
}
QuoteThe animation is 640 by 480 and fills the entire screen rather than a portion of the screen. When I call SetBackgroundFrame(1) it probably 'does' display the background but it it can't be seen because the last frame of the animation is in the foreground. Could this be the case?
Quoteprogram pointer is -189
Quote from: CJ* Possibly fixed EIP=-189 error happening on some systems.
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.860 seconds with 15 queries.