Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: cancel the right click menu  (Read 2541 times)

0 Members and 1 Guest are viewing this topic.

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
cancel the right click menu
« on: February 13, 2007, 03:57:20 AM »

What's the simplest way to cancel the right click menu?  I don't know if I started the game right but I'd like to keep going with what I have for a while.  I just want a right click, left click system.  I can see it works to overwrite, but then I might miss it once in a while so I want a default nothing to happen on right click.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: cancel the right click menu
« Reply #1 on: February 13, 2007, 08:15:28 AM »

The script in the standard game template already handles this. If the right-clicked object doesn't contain neither of the "LookAt", "Take" or "Talk" event handlers, the menu isn't displayed.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Re: cancel the right click menu
« Reply #2 on: February 13, 2007, 09:02:56 AM »

O.K.  Thanks.
Logged
 

Page created in 0.036 seconds with 20 queries.