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

#1
Ok, I will be testing it and write down if something works improperly.

Thanks again  :smiley:
#2
Thanks a lot.

This code works perfectly.

You are the best ;-D


#3
Thank you for your help.
In the custom properties there isn't a property called "act". I have tryed to create it but it ins't work.
My solution for this is use this function in all of the maps hotspots: 

Code: ags

function hNameOfHotsport_MouseMove()
{
 cNameOfCharacter.ChangeRoom(6, 382, 790, eDirectionLeft); 
}


And use the code suggested by you (very helpful) in the global script filling with:

Code: ags

function on_mouse_click(MouseButton button) {
   
  if (player.Room == 5) {
        
    if (button == eMouseLeft) {
      // map room left-click code
      gVerbCoin.Transparency=100; 
    }
    else if (button == eMouseRight) {
      // map room right-click code
      gInventory.Visible = false;      
    }

  }
  else {

    // original contents of on_mouse_click
    // all clicks handled by VerbCoin script
  }
}


It's very, very simple but it's functional. But there is a litte problem with this. There isn't time to see the information of the action bar and the character still walking around the map every time I click in anywhere.
So I was trying to modify the original code of the verbcoin to activate a modemap (reading the script of the verbcoin, this mode it seems to exist) but I'm completly begginer at programming.

Excuse for my english, I don't usually use it.
#4
Quote from: Electroshokker on Mon 15/09/2008 18:01:18
Now, here's a thought for you: have you checked out the "act" property? If you use that (set it to 'true') on all your map hotspots, you don't need to disable the verbcoin module. It was designed to specifically allow for interactions with a single mouse click WITHOUT popping up the verbcoin.

Hello guys.

I have a similar problem with the verbcoin in a room map.
Could you explain a little more the "act" property?
Thank you.



SMF spam blocked by CleanTalk