Menu

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.

Show posts Menu

Topics - IdleHands

#1
Hello there,

I am trying to script a mouse like sam and max. I.e. when left-clicked will move character to location but also interact on hotspots/characters/objects etc.. when appropiate and a right click will initiate the look at function.

Also like the sam and max (and other lucasarts titles) I'd like text (just text no BG of GUI) of the hotspot/character/object to appear under the mouse. I sort of understand it needs Game.GetLocationName(x,y); script and can use UpdateStatus.

Any help for the helpless novice would be appreciated

Note;-
I am aware there are some older topics on the mouse over text but since those posts the scripting has changed, and parts are now obsolete (it may be nice to have a fresh script of it put up with up-to-date scripting language for me and other novices - my reason not to flame me to a crisp toastie left in death valley :)).

Addition -
I was thinking  a script where the mouse mode changes from walk to interact when over a hotspot/object/character would work, but I am having difficulty understanding how to make the script/game recognise hotspots/obejcts/characters over normal walking space. Also would this make it hard for players to walk if the mouse keeps changing to interact on every hotspot? Would it be better to keep right click as walk?
#2
Hello once again.

Yes two topics in a day, oh how you may come to hate me. I didn't want to add this to the other thread as this is a different kettle of fish. Once again I have scoured the internet and forum for help but to no avail (well actually avail to previous problems but just not this one).

My problem is thus; I've created a custom Inventory screen on a blank template game, and I've got it to appear, disappear, and the buttons to work. The only problem is how do I set up the Inventory window for the GUI, i.e. the space inventory items will appear in the GUI. I've found info like invMain.ItemWidth and invMain.ItemHeight, but they define the inventory items x and y but not the space they appear within (or where to place such script within the global script).

I hope that is understandable. Sorry if I've missed an obvious solution (it seems silly I can do everything else but fail at the most important and basic part, doh!), it would be due to me not knowing the technical words to such for thus missing it (I've tried searching everything I can think of).

Any help would be appreciated  :)
#3
Hello there, I'm new to the forum and scripting, and was hoping for some help. I've tried searching for a solution but failed to find one (though this may be due to searching with incorrect technical terms, so I apologise if I've missed the obvious). Anyways...

I've created a new game from the empty template, as I knew I'd just replace everything anyways. But when I try to use the Display("msg") command it says it needs a GUI, ah didn't think of that when I started. So I was wondering how you make a GUI for the text display command, I've read the Quit GUI tutorial but am still lost on how to apply it to the display command.

Any help would be apprieciated, sorry if it doesn't make a lot of sense (probably due to me using incorrect terms).
SMF spam blocked by CleanTalk