Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: diego on October 19, 2010, 02:21:12 PM
-
Hello, I´m starting to use WME with the online book, and my Molly character is stucked in the middle of the scene, allthough I´ve changed the values in the scene_init.script. Any help please?
-
What do you mean by "stucked"? Did you define a walkable area etc?
-
Yes, I made a floor region (that should be the walkable area, right?). My character is in the midle of the scene, outside that region, and red...
-
Then you have to either expand the region or position the actor somewhere else. You said you changed the scene_init script, can you post the relevant code here?
-
Ok, I´m going to try to expand the floor region. For the moment, the code is:
#include "scripts\base.inc"
// here comes the stuff which initializes the scene
actor.SkipTo(733, 562);
actor.Direction = DI_DOWN;
actor.Active = true;
////////////////////////////////////////////////////////////////////////////////
// scene state
global Statewarehouse;
// default values
if(Statewarehouse==null)
{
Statewarehouse.Visited = false;
// add scene states here
}
etc.
Thanks.