Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Dionysius on February 15, 2008, 05:43:35 AM
-
Well, I need some help.
I have this code:
actor.GoToObject(this);
actor.StickToRegion("pob_reg");
actor.PlayAnim("open_lug");
Game.TakeItem("creditCard");
this.status = 1;
1. The actor sticks to region before that it has come to the object. How to fix this?
2. How to drop the effect of StickToRegion method?
-
1. The actor sticks to region before that it has come to the object. How to fix this?
I don't think so...
2. How to drop the effect of StickToRegion method?
actor.StickToRegion(null);
-
I don't think so...
Maybe... But could you look at my demo.exe? http://z-nsk.ru/demo.zip
Click on the luggage and keep a sharp eye on the actor's feet.
actor.StickToRegion(null);
Thanks!
-
Well, I solved this problem by triggering event from "open_lug" animation :)