SUGGESTION: Add more interactions on Grid.

Started by Dualnames, Tue 14/07/2009 19:53:05

Previous topic - Next topic

monkey0506

#20
You could use one function if you really wanted to, just by manually typing the function name in for each of the events. The only problem then becomes the same as that of the OtherClick function...

If the user is simulating the interaction by using InventoryItem.RunInteraction there is no way to tell which CursorMode was passed as the parameter. If they actually click via the mouse then of course mouse.Mode or game.used_mode would be appropriate. However as Dual said he is trying to simulate these clicks which means that for any extraneous modes he would have to take extra measures for something which IMO AGS should compensate for. There should be some way of getting the mode passed through to the function.

EDIT: I'm not saying that Dual's suggestion is a bad idea IMO as keeping the editor consistent is important; though realistically there are loads of other things that I would (personally) rate as a higher priority. The most important thing, I insist, is that even with the way it's currently set up there is no way to determine which CursorMode gets passed through the RunInteraction function in the event it is not one of the aforementioned modes. Whether or not this suggestion gets immediately implemented or not, I still feel that there needs to be a way to recover this information! If it were available it would at the very least provide a built-in way of dealing with the situation instead of having to entirely script a custom method.

Dualnames

Hell, guys I CAN MAKE A WORKAROUND. It's not the problem, in this case. Jeez.

The thing is I'm making an interface for someone other's game, who isn't equally experienced as i am, and I feel it would feel better if what I'm saying could be implemented.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Snake

Now you've gone and pissed him off.
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

Dualnames

Quote from: Snake on Fri 17/07/2009 19:41:08
Now you've gone and pissed him off.

That's right, prepare my WRATH!!...
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Galen

*prepares Dualnames some his famous wrath*

Dualnames

It should be expect right? Well, prepare to shit yourself.

EXPECT MY WRATH!!
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

TerranRich

I'm expecting Crazy's wrath now. It sounds delicious.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk