Problems with control scriting

Started by deviques, Mon 14/11/2005 19:41:08

Previous topic - Next topic

deviques

I don't know if I do it right to post this one here, but I would really need some help.

I'm trying to make a game, but I have problems with the controll. I don't need GUI's, just a simple method: You use only mouse, with right-click you change between walk-look-talk-interact, with left click you do it.

HOW can I do this? I've read everything, but I just can't find the answer. I don't even have a mosue pointer in the game.

If anyone could help me, please...

Ashen

QuoteI don't even have a mosue pointer in the game.

Sounds like you're using the Empty template. Restart your game (shouldn't be too hard, if you haven't done anything yet), and select the Default template.

The right-click to cycle thing is standard, so you won't need to do anything to get that. You might want to change or delete the 'Iconbar' GUI though - that's the one that has the buttons to change modes as well.
I know what you're thinking ... Don't think that.

deviques

Oh. How stupid I am. So I start the default game, and delet the iconbar GUI.
Can I just simply delete it?
Ok, thanks anyway, you're king.

Ashen

You're probably better setting it's visiblity to 'Popup modal', than just deleting it. That way it'll never appear unless you call it - then you just don't call it! Just deleting GUIs can cause problems - less so with versions 2.7+ than earlier ones, but still best be safe (at least until you're more familiar with AGS).
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk