Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2014-05-19 22:47:44

pagara123
Member
Registered: 2013-11-06
Post 48/92
Website

How to close the door using sign post ? G/S VERSION

Like dark energy getting item but the door is lock miksy91 help!

Offline

#2 2014-05-20 01:23:23

Kumar
Member
From: UNOVA
Registered: 2013-03-18
Post 305/383
Website

Re: How to close the door using sign post ? G/S VERSION

I don't know correctly but using flags.

Offline

#3 2014-05-20 12:37:56

Miksy91
Member
Registered: 2010-10-16
Post 2,108/2,306

Re: How to close the door using sign post ? G/S VERSION

To put it simply, you'll need to make a;
1) Signpost event for the door for making it possible to open it (and make the event have Function byte 06 so that you can't "talk" to the door once it's already opened).

From the compendium:

Signposts:

[Y position][X position][Function][Script pointer (2byte)]

■ Function: 

06 = If bit of BitTable1 is not set then pointer is interpreted
Script pointer to [Bit-Nr. (2byte)][2byte pointer to script]

2) Make a script that is called from the map header which checks whether or not the door was opened some time before (with that Bit Number attached to the signpost event). If it was, replace the "closed door" block with "opened door" block.

Last edited by Miksy91 (2014-05-20 12:39:01)

Offline

#4 2014-05-21 00:37:19

pagara123
Member
Registered: 2013-11-06
Post 51/92
Website

Re: How to close the door using sign post ? G/S VERSION

Thanks miksy91 i try your tutorial

Offline

Board footer

Powered by FluxBB