Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - beenf

#21
What makes you think I haven't searched about those problems first ?
http://www.youtube.com/watch?v=3LCiL1YCaWU
#22
Thnx it worked now

Edit: Ohh I have a silly problem now. How can I create the game now so I could share it to my friends and they could play it without having ags?
I didn't found any tutorial teaching me that
#23
Code: ags

// room script file



function room_AfterFadeIn()
{
gGui1.BackgroundGraphic = 41;
 WaitKey(40*10); //10 seconds with GameSpeed=40
 gGui2.BackgroundGraphic = 42;
 WaitKey(40*10);
 
 gGui3.BackgroundGraphic = 43;
 
//and so on
  gGui1.Visible= false;
 gGui2.Visible = false;
 gGui3.Visible = false;
 player.ChangeRoom(1, 160, 160);
}


I did this and when I tested the game it would start as a black window, waited a second and last gui (the picture) showed up. And nothing happened from that forward. It didn't go to the next room or anything
#24
Yay, I got it working !
Thnx

But I'm also having problems with my cutscene.
I wan't it so when the game would start different pictures would come one after another.

this is what I did so far.
Code: ags

function load_AfterFadeIn()

{
  StartCutscene(eSkipAnyKey);
  Mouse.Visible=false;
  Wait (40);
  Mouse.Visible=true;
  player.ChangeRoom(9, 111110000, 1111111);

  EndCutscene();
    }

did it by following a tutorial
#25
Ooops. I noticed that the rooms walkable area is also walkable when I havent triggered the switch.
What do i do?
#27
So I wanna do an event where I use an item on an hotspot and walkable area restores in another room where the hotspot doesnt exist.

I tried a code like this
Code: ags

function hexample_UseInv()
if (player.ActiveInventory==iItem) {
  RestoreWalkableArea(2);
}

I see that it would restore the walkable are number 2 in the same room. But what code should I use so I could restore walkable area number 2 in room number 5 for example.
I hope someone can help
#28
Ohh, that was the case. I tought it was something about the same lane, cause when I clicked the error it would highlight the 527th line
#30
I'm sorry, but I still don't get it.
It's like there's a "(" which does not fit in the code. But I can't seem to find which one is it.
Edit: Or does it need an extra "("
#31
I get this: GlobalScript.asc(576): Error (line 576): expected '('
even if i changed my ()'s to []'s and "=" to "=="

Code: ags
function cVamp_Talk()
{
if object[0].Visible == true dVamp1.Start();
else if object[0].Visible == false dVamp3.Start();

}

#32
I want cVamp to start a different Dialog than he did when the door was closed.

I tried to figure how it works out myself, but failed
this is what I tried
Code: ags
function cVamp_Talk()
{
if object(0).Visible=true dVamp1.Start();
else if object(0).Visible=false dVamp.Start();

}
#33
Well I watched the Dialog tutorials already. I didn't find the answer I was looking. Or maybe I just didn't notice it.
If you ppl know a video tutorial for my problem then would be awesome to know about which one teaches that.
And sorry if I sounded Smartass
#34
Well, this is Beginners Technical Questions
And I just haven't had enough time to watch all the videos through
#35
What if I want the cVamp to have new dialog??
#36
Ohh I figured out now.
I had to open the room script under the edit room which I didn't do before :P

But I got a new question.
How can I change the characters Text after I have opened the door.
For example:
He told "Bring me a key and I will open the door" when the door was closed
But after I brought him key and door has opened he sais "The door has opened" or "I have no business with you anymore" etc
#37
I did link it now from the Interaction you showed Matti. But I'm getting same error when going to Room 2
#38
Thnx for the help so far, but when I changed the object like Ryan told me to. Then I tested it.
When I walked in the room where the character and object was (the door) the game crashed and gave me this error:
http://i36.photobucket.com/albums/e10/beenf/error2.jpg

#39
So I added the same function from my first post to cCharacter "Use inventory on character" interaction.
But now I get this error:
http://i36.photobucket.com/albums/e10/beenf/error.jpg
Did I do something wrong?
#40
Where do I find Interaction Editor?
SMF spam blocked by CleanTalk