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

#1181
Are you using an old version of AGS? If so, there's no global variables pane in the editor. You'd have to use Global ints or import/export variables you created in the global script. Otherwise just do what Khris said, he gave you an example.

Quote
my intention was to enable a hotspot only if there are all three items activated in my inventory, probably there is an other possibility to achieve the desired  result

So what's the problem, doesn't it work? As Khris said: Give us more info if you want to get help.

#1182
Use a variable like this:

Pseudo-
Code: ags

bool objectpick=false;

// picking up object in room 1

objectpick=true;

//in the room_load of room 2

if (objectpick) oObject.Visible=false;


Of course objectpick got to be a global variable, since both rooms use it.
#1183
Quote from: Dualnames on Sat 21/08/2010 03:08:20
I also take acceptance of fellow greek ladies that lurk in the forums with the purpose to reproduce the strongest nation (once) in the world.

*ps I'm so drunken a drunken drunken would be drunken.*

Becomin a nationalist when drunk, eh?
#1184
ShiverMe: No Zappa-Beard?  :'(

Phemar: That's one boring clean and tidy forest  ;)
#1185
Just use a variable ("objectuse" in my example).

Pseudo-
Code: ags

bool objectuse=false;

// Click on hotspot:

if (objectuse==false) display stuff 1
else if (objectuse) display stuff 2

// Use object on hotspot:

objectuse=true;
#1186
The Rumpus Room / Re: Happy Birthday Thread!
Wed 18/08/2010 13:34:31
Happy one, Mash.
#1187
I vote for Prog- no, Sugh- no.. um, Mad I say. Hard decision really.
#1188
MUCH better. That's the first skull that actually looks like it's made of stone.
#1189
The Rumpus Room / Re: Happy Birthday Thread!
Mon 16/08/2010 13:56:08
Yeah, happy one, the both of you.
#1190
As a workaround you can set the optional variable to something that hasn't any effect, that's what Domithan meant I think. Wouldn't work for a bool obviously as you surely need both true and false..

Like:

function KillPeople(String motive, int guilt)
{
   if (guilt==1) ....
   else if(guilt==2) ...
}

That way guilt set to 0 or something higher than 3 wouldn't have any impact thus it would be kind of optional.
#1192
Quote from: Last Boy Scout on Mon 16/08/2010 08:12:45
Under the edges event list I selected "room_Leave" and still nothing happens when you approach the doors.!

There is no "edges event list", that's the room event list and you chose room_leave which is called as soon as the character left the room.

Quote
I'm just starting out, have 2 rooms built and I want to be able to move the character into the next room. I made the front door a hotspot, but the character can't walk into the next room when he touches it.

If you put a character.ChangeRoom() command in the hotspot's interaction event (like 'interact hotspot' or 'any click on hotspot') then it should work just fine.
#1193
This looks like fun. The style could be more polished but I like it. And I love the giraffe too  ;D
#1194
Quote from: Arj0n on Sun 15/08/2010 10:32:49
Can't repro your 'couldn't move a "page up" upwards' problem in L9... ???
Can you tell me which of the page-up key's had a problem moving up when looking at the begin situation of this level?

Here's a screenshot of the situation. I have to move the shift key to the left in order to get the pageup key to the top again. All I did before is moving these two keys and the home/delete bar to reproduce the situation.

Oh, and it would be nice if a single click on the arrowkeys would let it automatically slide into the goal (if there's nothing in its way of course).
#1195
'tis a fun game!

Quote from: Ben304 on Sat 14/08/2010 11:04:19
Also, level 9 was hard  8)

Yep, I'm stuck there.

Quote from: Arj0n on Sat 14/08/2010 11:36:28
Level 11 'shift key slider' bug fixed, thanx for noticing Ben  ;)

I encountered that bug in level 3 too.

Also, in level 9 I couldn't move a "page up" upwards. It seems that a shift key was the problem, but it was only diagonal to the key I wanted to move, it didn't block it. It worked fine though when I moved the shift key one field further away.
#1196
Completed Game Announcements / Re: rein
Thu 12/08/2010 14:16:32
This is cool - quite short, but worth it. Nice animations, nice clean graphics and some action (expecially the very beginning).

I'm looking forward to your next project - maybe a sequel (or prequel)? This really felt like an intro to something bigger.
#1197
This sounds interesting, looking forward to it.
#1198
Ah, right. I must be tired.

*drinks some more coffee*
#1199
What are the five possibilities ??

Does this piece of code run more than once, unintentionally?
#1200
Quote from: Babar on Fri 06/08/2010 20:06:54
He waves his harmless sparkly stick to distract you, then shoots you in the face with his magic gun.

That would be a cool adventure game character  ;D
SMF spam blocked by CleanTalk