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 - Amayirot Akago

#841
After I add the void line in the header I get an error "Expected '{'" on that line.

All of this coding stuff is going over my head as it is :confused: Anyone got any good online tutorials?
#842
Well, I've done as you said and added the relevant parts to the header and global script, and tried to use the new function for one hotspot, but now when I try to start the game I get the error "Undefined token 'setCursorDirection' ".

Code: ags
export setCursorDirection;


Is this how I was meant to export the function?

Also I can't find anything on this "void" thing you used :confused: Care to explain?
#843
I'm trying to create a custom function for my game which I can call whenever the player points at a certain hotspot, which will change the cursor into a pointer finger. However, I want the function to include a variable which determines the direction the pointer points towards; left, right, up, or down, so I don't have to make four separate functions.

So far, from looking at the manaual, I've worked out how the function should more or less look:

Code: ags
function point(string left string right string up string down)


And for each direction the code would go like:

Code: ags
{
  Mouse.SaveCursorUntilItLeaves();
  Mouse.UseModeGraphic(eModePointLeft);
}


Now how do I go about actually telling the script what to do for each variable?

I have already read about having to export functions at the end of the global script and importing it into the header so that shouldn't be a problem.
#844
The Rumpus Room / Re: Name the Game
Tue 25/10/2016 18:15:29
Bingo :) And the first two pics were of Ashley's alternate costume.
#845
The Rumpus Room / Re: Name the Game
Tue 25/10/2016 17:06:57
Yesss, but which one? ;)
#846
The Rumpus Room / Re: Name the Game
Tue 25/10/2016 13:04:23
Definitely not := This is quite a bit more modern than that.
#847
The Rumpus Room / Re: Name the Game
Tue 25/10/2016 11:27:01
#848
The Rumpus Room / Re: Name the Game
Tue 25/10/2016 10:53:57
Also no.
#850
The Rumpus Room / Re: *Guess the Movie Title*
Mon 24/10/2016 21:24:07
The Italian Job?
#851
The Rumpus Room / Re: *Guess the Movie Title*
Mon 24/10/2016 19:15:29
Is that Innerspace?
#852
The Rumpus Room / Re: Name the Game
Mon 24/10/2016 14:07:18
Nope.
#853
The Rumpus Room / Re: Name the Game
Mon 24/10/2016 12:17:12
I was specifically referring to this infamous AGI fangame:

http://www.mobygames.com/game/fuck-quest

Anyway, carry on with the guesses, if you please :=

[imgzoom]https://dl.dropboxusercontent.com/u/57502026/cleavage.png[/imgzoom]
#854
The Rumpus Room / Re: Name the Game
Mon 24/10/2016 11:41:56
[imgzoom]https://dl.dropboxusercontent.com/u/57502026/cleavage.png[/imgzoom]

I feel so dirty for doing this, but if Anas and Mandle can post female anatomy, then why the hell shouldn't I :=
#855
The Rumpus Room / Re: Name the Game
Mon 24/10/2016 11:24:09
Street Rod 2?
#856
The Rumpus Room / Re: Name the Game
Mon 24/10/2016 11:00:16
Seeing as how it looks like the underside of a car, Street Rod?
#857
The Rumpus Room / Re: Name the Game
Mon 24/10/2016 10:19:11
Covert Action?
#858
The Rumpus Room / Re: Name the Game
Sun 23/10/2016 18:38:13
Donald Duck's Playground?
#859
The Rumpus Room / Re: Name the Game
Sun 23/10/2016 17:53:58
God, tell me it's not F*** Quest...
#860
The Rumpus Room / Re: Name the Game
Sun 23/10/2016 14:20:57
Well you should come visit then, we'll have coffee or whatever :=

Not 100% sure what this might be, but it looks like an AGI game. Manhunter?
SMF spam blocked by CleanTalk