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 - AnInhumer

#1
Advanced Technical Forum / Re: StrGetCharAt
Wed 08/06/2005 21:13:27
Thank you, I hadn't thought of that.

I can understand the use of char but why not a string?
All the functions use int or string meaning the fact it returns something is useless

Someone is now going to point out why it isn't
#2
Advanced Technical Forum / StrGetCharAt
Wed 08/06/2005 20:27:18
How can you convert the char returned by the StrGetCharAt into a string so that it can be used in the standard functions.
#3
Thanks

That is the way I tried by the way, I also tried using a char.
But what I needed was a line break.
#4
How do you put an ascii into a string.

I tried one way but it put in the wrong ascii, unless 13 is a face & a note, but the reference says it's enter
#5
Thanks, I kind of knew that, but I wondered why my way wouldn't work.

And the input has to be used again with the same value so it was even longer

By the way labeltext is a global string so I didn't declare it here.
#6
I have added this script to my game & it tells me that the strcopy is a mismatch non-variable/variable

string input;
GetTextBoxText(0,1,input);
StrCopy(labeltext,StrCat(input,labeltext));
SetLabelText(0,0,labeltext);

As always I have probably neglected to read something buried in the help file
#7
I have located the "&" bug so don't post about it please, I will upload the new file ASAP.
EDIT: All clear not that anyone has downloaded the file yet
#8
I realise that I shouldn't technically post my first game...
But everyone I've shown it to says I should, even if the graphics aren't up to much.

There will be many bugs that my guinea pigs testers didn't find so post them here if you do!

The screen shots you asked for:



And a game summary (copied from the opening message):

The ship you are in has entered the asteroid belt & has been damaged beyond repair.
You have been, because of an error in the "failsafe" computer system, missed off the list of personnel.
The only way to open the escape pod door is with a key card, but they took that with them when they were leaving.
You must escape!
#9
Er... thanks I think.
#10
This probably seems like a stupid question but what do I do with the file once it's downloaded?
#11
How can you turn on an object in a different room.
I think this is probably a thingy.thingy that I don't understand, tips on these would be helpful
#12
I thought so
*mumble* Inconsistant key words >:(
#13
Is it possible to disable walkable areas?
I appreciate that there is probably a simple answer that I should have found somewhere but I haven't.
#14
Thank you
#15
I was attemptting to test my game when I recieved an "Illegal exception":

An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00417BB0 ; program pointer is +6, ACI version 2.62.772, gtags (0,0)

If it helps at all I have added this script to:   function repeatedly_execute

string buffer;
GetLocationName(mouse.x,mouse.y,buffer);
string cursor;
if (GetCursorMode() == MODE_WALK)
{
StrCopy (cursor,"Walk to ");
}
else if (GetCursorMode() == MODE_LOOK)
{
StrCopy (cursor,"Look at");
}
else if (GetCursorMode() == MODE_USE)
{
StrCopy (cursor,"Use ");
}
SetLabelText(0,0,cursor+buffer);
}
SMF spam blocked by CleanTalk