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

Topics - MugMan

#1
Hello (Again, sorry.) I was wondering if you could change the box that appears when using Display ("Stuff");
Cheers in advanced.
#2
Hello! I've been having some strange trouble with a bug, after changing a characters view with .ChangeView, the actual change only happens when the character is standing still, or when the bar at the top is interacted with, is this a common issue? Am i missing something?

Cheers.
#3
Hello! I've ran into a problem, after my title screen fades in i thought it'd be a good idea to change the players cursor to the pointer, however, the cursor can no longer be used for clicking on the hotspots i'd set up for the different buttons on the menu, how would i set the player's cursor to the pointer, not allow them to switch, and allow the pointer to interact with hotspots?
Code: ags

function room_RepExec()
{
mouse.UseModeGraphic(eModePointer);
}

#4
Hello! Whilst i was making my game i changed the name of a gui button, and all the dunctions it called on (The loading button) i'm not entirely sure why but when i attempted to complie the game into an EXE i got this error:
Unexpected error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
I'm not really sure what caused this but i have a feeling it might've been the change to the GUI, i'd appreciate any help you could give me.

#5
Hello! I was attempting to make a transititon animation of a ghost entering the player and leaving behind an orb, but it seems to be getting stuck on the first animate command! Any help? Should i be running this under something rather than execute always?

Code: ags

  if (cGhost == player) {
 }
 else {
   cGhost.Walk (player.x-20, player.y, eBlock);
   if (cGhost.x == player.x-20) {
    if (cGhost.y == player.y) {
    cGhost.x = player.x-20;
    cGhost.y = player.y;
    cGhost.LockView(4);
    cGhost.Animate (0, 2, eOnce);
    cGhost.LockView(5);
    }
   }


I'd really appreciate any help, cheers!
#6
Pretty much what the title says, upon creating a new game the only tab that opens is the start page, and i don't know how to open the Project tree or property grid, help would be very much appreciated :)
#7
Code: ags

function cFrank_Talk()
{  
  if (player==cEgo) {
    dFrank_Ego_Alley.Start();
  }
  if (player==cAlienKing) {
    dFrank_Alien_Alley.Start();
  }
  
}

So what i'm trying to do is have a diffrent dialouge start depending on who the current player is, however when i try and talk to cFrank, the game freezes and highlights the first "{" in yellow.
I'm really not sure what i'm doing wrong. Sorry :undecided:
To clarify, the game runs, it just crashes when i talk to cFrank.
#8
I'm having trouble again:(
I'm not really sure where i went wrong, i can't see any unclosed brackets here.
Any help would be appreciated, thanks.
Code: ags

// room script file

function room_AfterFadeIn()
{
cEgo.x =160;
cEgo.y =185;
}


function oTranslator_PickUp()
{
cEgo.AddInventory (iInvItem1);
cEgo.Say ("I suppose this could be useful? Maybe?");
}

function hHotspot1_Interact()
{
cEgo.Say ("Yup, that's some quality stone right there, great craftsmanship, don't make stone like that no more, nope, taht's an oldstone right there");
cEgo.Say ("You'd never get anyone making stone this solid nowadays, there's no money in making quality sone, and if you do you could expect a buyout by RockCo pretty damn soon");
cEgo.Say (Bloody RockCo");
Display ("Cadave sighs.");
cEgo.Say ("I miss running that quarry.");
}

function hHotspot1_Look()
{
cEgo.Say ("Quality castle right there.");
}

function hHotspot2_Interact()
{
cEgo.Say ("This is locked tighter than a jewish bank.");
}

function hHotspot2_Look()
{
cEgo.Say ("It's a plonking great door.");
}

function hHotspot2_Talk()
{
cEgo.Say ("Hello door");
Display ("The door doesn't reply");
cEgo.Say ("Why do you hurt me so?");
}

function hHotspot3_Look()
{
cEgo.Say ("Some good old, H20");
}

function hHotspot3_Talk()
{
cEgo.Say ("Forgive me but i don't think yelling at posideon will help in this situation");
}

Here's the error message i got:
room4.asc(51): Error (line 51): buffer exceeded: you probably have a missing closing bracket on a previous line
I didn't include everything in the code, there's more and it does close at the end.
#9
Code: ags

cEgo.Say ("Hello Trashcan");
cTrash.Say ("Greetings Senpai!");
cEgo.Say (" AHHHHHHHHHH!");
cTrash.Say ("What's wrong?");
cEgo.Say ("I never really expect trash cans to talk back.");
cTrash.Say ("A foolish mistake to make,");
TrashMet+=1;
if (TrashMet=1); {
dTrashConversation.Start();

Here's the error message i'm getting:
GlobalScript.asc(534): Error (line 534): Parse error in expr near 'TrashMet'
I'm really not sure what to do, or if i'm even doing this right, i'd really appreciate any reply.
SMF spam blocked by CleanTalk