moble phone?

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

moble phone?

Postby edwr20 » Tue Feb 12, 2008 12:13 pm

Hi I have a corker of a problem I?m tiring to work out at the mo.

In my game the player will have a moble phone on them. And it will go off in some frames to say that a message has arrived.

For example there are 5 frames and the player goal to get to the 5th fame but they can not get there until they have received a message in the 3rd frame. But it will not arrives start away in frame 3 there is a bit of a delay.

Is any of that possible?

Am sorry for asking such a big, big question

Will be so gratefully for any light you can shed on this mater

Thanks
edwr20
Junior Member
 
Posts: 11
Joined: Fri Oct 19, 2007 4:05 pm

Postby Candle » Tue Feb 12, 2008 5:37 pm

Well a little more info would help.
is the phone on them or in the room?
you could have some hot spots in the room and when they have click on a few, one of them does the ring of the phone.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby Chromegloss55 » Tue Feb 12, 2008 7:47 pm

So what you're saying is you have five frames. And in one of them the mobile phone goes off, and when it goes off you can get to Frame 5.

Well, if the phone goes off after 25 seconds this is how you do it...

Go to VB Global Procedures and create a subroutine;

Code: Select all
Sub PhoneRing

'Enter whatever events happen when the phone rings

Message "Whatever message is on the phone"
PhoneRang = 1

End Sub


Then go to Frame3 and go into Frame Properties, go into VBScript and type:

Code: Select all
Action.CreateTimedEvent 25, "PhoneRing"


This will make the phone ring after 25 seconds...

Then, on whatever hotspot leads into Frame 5 you can type this code:

Code: Select all
If PhoneRang = 1 then Action.GoToFrame"Frame5"



I hope that helps, if you don't understand or if I've completely misinterpretted what you meant, let me know and I'll correct it.
_________________
Santeria Forum
Last edited by Chromegloss55 on Tue Feb 24, 2009 3:11 pm, edited 1 time in total.
Chromegloss55
Forum Master
 
Posts: 630
Joined: Sat Nov 03, 2007 2:49 pm
Location: God Knows!

Postby Candle » Tue Feb 12, 2008 8:06 pm

they can do that if they have the paid version.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby edwr20 » Sat Feb 16, 2008 12:30 pm

Hi thanks for the advice,

Sorry for not calibrating soon. I do have the full version, and I want to of something similar to what Chromegloss55 had suggested.

But the player has to have been in frame 4 first, before the text going off in frame 3. I.e. there on the way back cos they can?t get in to the building.

Thanks for the advice it has been much appreciated :D
edwr20
Junior Member
 
Posts: 11
Joined: Fri Oct 19, 2007 4:05 pm

Postby Mystery » Sat Feb 16, 2008 12:40 pm

In that case you could add one more variable (PlaceVisited) that is changed to 1 when the player enters Frame 4.

And then change what Chromegloss has suggested into:

Code: Select all
If PlaceVisited = 1 then Action.CreateTimedEvent 25, "PhoneRing"
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby edwr20 » Sat Feb 16, 2008 2:56 pm

thanks
edwr20
Junior Member
 
Posts: 11
Joined: Fri Oct 19, 2007 4:05 pm


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron