Hello, I'm new to programming and stuff. As in very, very new..
Anyways, I currently have trouble moving the player character. I have already added the view loops.
And ave looked through a few example for the event scripts..
I can make the player character say thing...even when clicking onto hotspots, yet I still can't make him to the desired location in a room. Here's a snippet:
function hHotspot1_AnyClick()
{
csomeGuy.Walk(272, 226, eBlock);
Even checked my walkable path. Checked examples scripts for both global and room event..
Though I'm, still not sure on how this works:
else if (button == eMouseLeft)
{
ProcessClick(mouse.x,mouse.y, mouse.Mode);
}
else // right-click, so cycle cursor
{
mouse.SelectNextMode();
}
Did I still miss anything?
Anyways, I currently have trouble moving the player character. I have already added the view loops.
And ave looked through a few example for the event scripts..
I can make the player character say thing...even when clicking onto hotspots, yet I still can't make him to the desired location in a room. Here's a snippet:
function hHotspot1_AnyClick()
{
csomeGuy.Walk(272, 226, eBlock);
Even checked my walkable path. Checked examples scripts for both global and room event..
Though I'm, still not sure on how this works:
else if (button == eMouseLeft)
{
ProcessClick(mouse.x,mouse.y, mouse.Mode);
}
else // right-click, so cycle cursor
{
mouse.SelectNextMode();
}
Did I still miss anything?