Menu

Show posts

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 Menu

Messages - SSH

#3821
Advanced Technical Forum / Waiting for a popup
Thu 10/02/2005 08:45:28
Sometimes, I'd liek to ask the user a Yes/No or OK/Cancel kind of question, and I don't thin there's an easy way to script this. What I mean is, it woul dbe nice to have a function (builtin or user-defined) like:

if (AskYesNo("Overwrite savegame")) {
  // Do Yes
} else {
  // Do No
}

As it is , I can write a function that brings up a popup modal GUI and sets the label in it, but using the same function to wait for a reply from that GUI is not possible. Even using rep_ex_always, I can't get it to work. If you have a solution, please tell me, but if it means CJ needs to add something to AGS, then please coutn this as a  SUGGESTION!

Edit:

I've answered my own question: For a customisable confirm box, try my new DialogBox module.
#3822
You can always do the repeat manually, by checking the animating property of the character in repeatedly_execute...
#3823
Quote from: Peter Thomas on Wed 09/02/2005 12:04:26
There are a few friends who I haven't told. I would regard them as fairly close, but they are relatively homophobic. I appreciate the addage 'if they're friends they'll accept you for who you are' but that's a lot easier said than done. Oh, and the managers at work don't know, for the very same reason. My last shift one of them spent the ENTIRE night cracking anti-gay jokes, and telling me how sick and un-natural it was. I had to grin and bear it. I would've said something if I could afford to not have a job, but I can't. Everyone else in the complex knows, though, so I go and talk to them instead :)

You should talk to your Human Resources department about it. In the UK at least, it's illegal for you to be discriminated against becuase of your sexuality. I think there's an Australian Equal Opportunites Commision, isn't there?
#3824
Competitions & Activities / Re: February MAGS
Wed 09/02/2005 17:14:19
By the way, Klaus, the otherwise excellent MAGS site still has the old agsforums.com addess for AGS and the forums...
#3825
In the latest Beta version, you can make a Room enumeration and the editor will auotcomplete for you after you've typed 3 characters... even better than #defines
#3826
Maybe both should be allowed for consistency's sake... also, mouse.x and mouse.y should really be capitals, too, now...


EDIT:

Also, could we have a ModuleRequired or ModulePresent function, that can be used to check for the presence of some other module, after all, there may be dependencies between modules and it would be nice if we could specify this in some formal way... alterntaively a require keyword like Perl...

EDIT 2:

If you import a module that you are allowed to edit the properties of, you still cannot edit it's permissions.... is this right?

EDIT 3:

If you do something like this, it doesn't work:
Code: ags

#define OFFSET -1

x = y + OFFSET;

because it sees +- and gets confused...

EDIT 4:

enums for Cutscene Skiptype, SetDialogOption state, SetSpeechStyle, SetVoiceMode, please! The first one is the only one I actually use, but I always have to look it up in the manual...

EDIT 5:
Although in the builtin enum section, CursorMode says it is used by mouse.UseModeGraphic, the entry fro that function says it takes an int...

EDIT 6:

If I use player.Previousroom in a room script, it tell me that it is not a public member of character...
#3827
I find that sometime Scripot-o-name for objects in a room dont update the autocompleter in the editor, if I load the script just after editing the object...

Also, why are Object x and y capitalised?

And it would be nice if I could insert spaces after my commas in function calls without losing the tooltip... what I mean is if you go back and edit the call later, and retype the comma it might give ytou the enumerated completions for the next arg for the function, but it doesnt autouinsert the space and if you type a space the enum completion list disappears...


#3828
Competitions & Activities / Re: February MAGS
Mon 07/02/2005 15:51:22
If I win (hah!), the March MAGS will be to try and have the most original use of a key in a puzzle.... looks like people have lots of ideas. Your ban on keys is like if someone tells you NOT to think of an elephant.... you can't do it.  ;)

I will have a key in my game but not a key key...  ;)
#3830
Just to clarify, a pun is a play on words... taking advatage of hompohnes, etc. See http://www.worldsapartreview.com/words.htm or look it up in an online dictionary, you lazy gits...

FOr example: Xenaphobia is the fear of greek warrior princesses
#3831
Well, last night I thoguht of a terrible bilingual pun, my second Spanish pun:

Pitta Pan, the bread that never grew up... (pan is Spanish for bread, btw)

I loved it, almost as good as the classic:

Inafamy, Infamy, they've all got it in for me (from Carry on Caesar or something...)

or from a Dilbert cartoon:

My uncle, the marine biologist, never got on well socially, but with Anenomes like that, who needs friends?

So, what are YOUR favourite terrible puns?
#3832
Rui - thats why you need to use DynamicSprite.CreatefromBackground or whatever it is, to make a sprite from the current background... or anyway, you could set a variable and then check for the variable in the next repeatedly_execute,...
#3833
Also, see http://www.adventuregamestudio.co.uk/yabb/index.php?topic=11868.0 which has a bunch of scripts to help you with this
#3834
The mouse-arm problem is properly known as carpal tunnel syndrome, and can be entierely avoided by a combination of a good mouse, by keeping your lower arm in a straight line with your wrist and hand and by making your seat height such that you can keep your lower arm in a straight line without getting your upper arm all tense. ...

http://www.hse.gov.uk/pubns/indg36.pdf
#3835
Have you got this DirectShow filter installed for OGG?

http://www.illiminable.com/ogg/
#3836
The screenshot remind me a lot of Leopold

Take a look at that game to get some ideas!

#3837
Critics' Lounge / Re: traditional pastel house
Fri 04/02/2005 12:03:40
You know its thing liek this that stops me from reading the Critics Lounge anymore. Someone posts some awesome artwork like this and says "I guess it needs more work, its only really good for a concept picture". I'd kill (well, at least maim) to be able to produce picture like this.  :'(
#3838
You're welcome t have it near me, and Scotland has flights from Scandinavia, New York, Amsetrdam, etc..

Here's a place that might have re-opened and is a nice country park:

http://www.beecraigs.com/campsite/campsite.htm
#3840
Sounds like the Ketchup song by Hijas de Tomate to me...
SMF spam blocked by CleanTalk