Save-Point
Mousie: The Mouse System - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Mousie: The Mouse System (/thread-2565.html)

Pages: 1 2 3 4 5 6 7


Mousie: The Mouse System - Norton - 04-07-2010

Not sure if anyone is still watching this thread, but I keep getting an error when I try to use name processing.

Script 'Mousie! The Mousie System' Line 610: Nomethoderror occured.
"Undefined method 'repeat?' for Mouse:Module"

Any help would be appreciated.


Mousie: The Mouse System - DerVVulfman - 04-10-2010

Given it's my thread.... yeah, someone reads it.

As to your problem...

Are you using an edit of the INPUT module or some INPUT script that affects the keyboard? I am asking because the 'repeat?' method is a standard method in INPUT and is not erased by Mousie. In fact, Mousie attaches itself straight to the INPUT system and requires key methods such as 'trigger?' and 'press?' since they're part of the default INPUT system.

If you are using a script that rewrites the INPUT module and somehow eliminated 'repeat?', then that is your problem script.


Mousie: The Mouse System - Neas - 05-02-2010

Hi.
I have i little problem with thist script :(
See following pictures:
Content Hidden
...and sorry, I know that my english is not good.


Mousie: The Mouse System - DerVVulfman - 05-03-2010

Check your event to make sure the 1st item in your event page is a comment that has the name of your icon.

This is good....
Code:
Comment: Question
Show Animation: [EV003] , Fire1
Control Switche: [0004] = ON


Not so good. It won't work.
Code:
Show Animation: [EV003] , Fire1
Comment: Question
Control Switche: [0004] = ON



Mousie: The Mouse System - Neas - 05-03-2010

Yes, I have a comment like first in event. For change mouse icon, I must hover the mouse over event. But if this event is larger, mouse icon not change.
Content Hidden



Mousie: The Mouse System - Ace - 05-03-2010

then I think you have to put some events in these tiles as well, some blank events with the comment in it.


Mousie: The Mouse System - Neas - 05-03-2010

It crossed my mind too, but this event is set on random move.


Mousie: The Mouse System - DerVVulfman - 05-04-2010

Ah. An oversized event... larger than the standard 32x32 tile. Sorry, friend. It will only react to the 32x32 area where the sprite is initially placed on the map. It will not react to any portion of the sprite outside that area. Haven't seen a mouse script yet that does either. Sad


Mousie: The Mouse System - Neas - 05-04-2010

I see... It doesn't matter, despite this thank you.
...And can this script could be adjusted to change mouse icon, if switch 0001 (for example) is ON? Or it isn't can be?


Mousie: The Mouse System - DerVVulfman - 05-04-2010

Neas Wrote:...And can this script could be adjusted to change mouse icon, if switch 0001 (for example) is ON? Or it isn't can be?

Look at my previous example:
DerVVulfman Wrote:This is good....
Code:
Comment: Question
Show Animation: [EV003] , Fire1
Control Switche: [0004] = ON

Not so good. It won't work.
Code:
Show Animation: [EV003] , Fire1
Comment: Question
Control Switche: [0004] = ON

These sets of code show that you can have the icon named in a comment in an event page. The icon name does not need to be the name of the event. So, if you have an event that has 3 pages, you can make an icon work when a switch 'is' turned on.