Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: DragzGames on Sat 28/02/2009 19:17:15

Title: how do i make the main character freeze solid. (desperately need)
Post by: DragzGames on Sat 28/02/2009 19:17:15
i have the coding from the manual but it doesn't work? any reasons for this?

any help on this would be appreciated thanks peepz :)

i desperately need this as i need this for the start of my game well the second room.

thanks peepz :)
Title: Re: how do i make the main character freeze solid. (desperately need)
Post by: Scummbuddy on Sat 28/02/2009 20:14:27
Please show us the code, and surrounding code, you are using and tell us where you have placed it.
Title: Re: how do i make the main character freeze solid. (desperately need)
Post by: DragzGames on Sat 28/02/2009 20:36:30
i have deleted it now but this is the coding i have put in so when someone says how to do it i can put it at the top.

// room script file


function hWindow1_Look();
{
cIvaen.Walk(155,  127, eBlock, eWalkableAreas);
cIvaen.Say("I can see the castle from here.");
}

function hHotspot2_AnyClick
{
c.Ivaen.walk(157, 146, eBlock, eWalkableAreas);
TextOverlay = Overlay.CreateTextual(10, 15, 250, Game.NormalFont, 12, "Great! now lets move back to where i was and start talking cursors.");
}

so far
Title: Re: how do i make the main character freeze solid. (desperately need)
Post by: Akatosh on Sun 01/03/2009 12:58:23
As I said in your other thread, look up WaitKey in the manual.
Title: Re: how do i make the main character freeze solid. (desperately need)
Post by: Khris on Sun 01/03/2009 13:16:04
Why don't you use player.SayAt(...) (http://www.adventuregamestudio.co.uk/manual/Character.SayAt.htm)?