Sorry guys, I know this must have been asked a million times, but I can't find anything using search with a similar problem to mine. So, I'm trying to make a simple main menu:
New Game
Load Game
Quit
I made a hotspot over new game, and the code is as follows:
function hHotspot1_AnyClick()
{
player.ChangeRoom(2, 140, 440);
}
I have also tried cEgo.changeroom, etc.
It won't work...
I have a Room 2, that isn't the problem...
The character is off screen
I even tried having the character on screen for debug purposes, it still won't work
Tried without coordinates, still won't work
It doesn't throw an error or anything, nothing happens when I click it.
I tried adding a if statement making sure the mouse is in pointer form too, still wont work...
can anyone help me please?
Any help is very much appreciated.
Your character is trying to walk near the hotspot. You have walk to hotspot points enabled, thus when he reaches the hotspot he'll run the interaction, place a walkable area and everything will prob be fine.
To avoid all that, using a GUI would be better(just a thought).
Oh my. Enabling. Newb-ish mistake. Thanks a ton! Sorry for such a trivial question, we all make mistakes now and then :P
Quote from: Domithan on Wed 01/04/2009 03:33:35
Oh my. Enabling. Newb-ish mistake. Thanks a ton! Sorry for such a trivial question, we all make mistakes now and then :P
No harm done, nice to have you back again..
Woah, do you remember me or are you just checking my records?
Anyways, I'm working on something much bigger and better than what was last seen from me, now that I have a fairly firm understanding of the engine.
Quote from: Domithan on Wed 01/04/2009 03:40:55
Woah, do you remember me or are you just checking my records?
Anyways, I'm working on something much bigger and better than what was last seen from me, now that I have a fairly firm understanding of the engine.
I can recall your avatar. I never cheat. ;)