[Solved]rmXP interaction script

Started by scoace13, June 06, 2009, 06:11:53 pm

Previous topic - Next topic

Ryex

give us a BIG PICTURE explanation I've said this many times before but unless you lay out your entire plan for your game insted of giving us bits and pices of your systems we won;t know what it is you need or want from us.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

ok  big picture. at the moment the game im working on is planned to have the feel of a large scale mmorpg so im trying to write/request system that allow me to do just that. this script would handle the menus and the targeting. the other script i requested would handle the shortcut bar. (am i explaining this better)
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

Quote from: scoace13 on June 09, 2009, 03:33:52 pm
ok  big picture. at the moment the game im working on is planned to have the feel of a large scale mmorpg so im trying to write/request system that allow me to do just that. this script would handle the menus and the targeting. the other script i requested would handle the shortcut bar. (am i explaining this better)

and then all 'battle' processing would be handed through common events right?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

common event and mapped events yes.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

well good luck now that i know what your trying to do is sounds like a hell of a lot of work. I've seen an evented ABS before and the level of eventing used was insane and what you doing is just as hard if not harder. I hope it works out
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

...it not really hard(unless i don't get this script) just long and repetitive
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

scoace13

June 10, 2009, 09:40:20 pm #26 Last Edit: June 10, 2009, 09:41:46 pm by scoace13
ok the time has come and i think i got this worked out this is supposed to work :


mouse click =action button on event
event store a number as a variable
press a key on the keyboard for a menu
use mouse to select an option from the menu
option calls common event which checks varible number
then sets a switch bassed on the events id
the switch triggers the event.

example:\

player clicks on a door and the opens the interact menu selects open
the open option calls common event open
common event open sees that the doors event id is 006 because of the variable value
and turns on switch 6 to activate the doors parell process which then opens then door and the player can proceed through

scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

June 11, 2009, 12:26:46 am #27 Last Edit: June 11, 2009, 12:34:08 am by Ryexander
what makes this script really hard is the fact that you want to click on events if not for that it would be fairly easy. also I or any one else who did this would need a mouse input script.

I suppose you could check for a mouse click, record the position of the mouse, translate the mouse x any y in to the 32 x 32 grid or rmxp and then check if there was an even at said position. that said I have a script the checks events that i could use as a base...

tell you what if you can beg Blizz and get him to release his mouse input script I'll see what i can do I'll probably only have time to do part of the system for you (the part that records event clicks) so don't get upset when i can't finish it for you.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

stupid question a mouse move script would work would it cause i have one or two of those  otherwise i will work on begging blizz.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

Quote from: scoace13 on June 11, 2009, 12:41:11 am
stupid question a mouse move script would work would it cause i have one or two of those  otherwise i will work on begging blizz.

I would rather have Blizz's as it is sure to be cleaner and work better and lag less and... *rambles on about how Blizz's script is sure to be better*
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

check your pm's i gave you an add for the second script you sent me that will store the ID of the last event you clicked on (if the event had a graphic) in $game_system.last_click_event_id. $game_system.last_click_event_id wil be nil if the last click didn't have an event under it.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

ok that means that with the hard part out of the way thanks to Ryexander :V I still need the menus
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...