Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

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.

Messages - lof

Pages: 1 [2]
16
Technical forum / Re: Stop inventory item from being selected
« on: September 21, 2012, 06:44:57 PM »
you mentioned you needed it for one specific item :)
nevermind, you're welcome.

17
Technical forum / Re: Stop inventory item from being selected
« on: September 21, 2012, 03:05:58 PM »
open Game.Script

search for and add the underlined text into your script (replace itemname with your itemname):

on "LeftClick"
{
  // what did we click?
  var ActObj = Game.ActiveObject;
  if(ActObj!=null)
  //~ if(ActObj!=null && ActObj)
  {
    // clicking an inventory item
    if(ActObj.Type=="item" && Game.SelectedItem==null && ActObj.Name != "itemname")
    {
      Game.SelectedItem = ActObj;
    }

do the same for: on "LeftDoubleClick"

that will cancel left clicking on this item.

18
Technical forum / Re: rotation of subframe
« on: September 17, 2012, 09:52:56 PM »
 :-\ Thanks anyways.

19
Technical forum / rotation of subframe
« on: September 17, 2012, 07:28:38 PM »
Hey, i have a quick question for you guys.
I have a sprite animation of a car with wheels as sub-frames, is there a way to use .Rotate on sub-frames?

Pages: 1 [2]

Page created in 0.133 seconds with 18 queries.