April 27, 2024, 11:18:01 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum provides RSS feed. To query recent posts use
this url
.
More...
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Profile of lof
>
Show Posts
>
Messages
Profile Info
Summary
Show Stats
Show Posts
Messages
Topics
Attachments
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
Topics
Attachments
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
]