Thread: MAKI Cheats
View Single Post
Old 6th September 2002, 17:50   #2
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
Drawer

// USING THIS SCRIPT:
//*****************************************************************************
// 1. Define a drawer group in your XML.
// 2. Add your background layer to the group, something like:
// <layer id="Drawer" image="player.Drawer" x="0" y="0" sysregion="1"/>
// You can change any of the values but the id and sysregion
// 3. Add a layer to pass info to this script, something like:
// <layer id="DrawerInfo" x="13" y="0"/>
// Set x and y to where you want your drawer to slide to
// 3. Add any other objects(layers, buttons, sliders, etc) to your group
// 4. Copy this script (and drawer.maki) to your scripts folder.
// 5. If you don't have drawer.maki, compile this script.
// 6. Add this line to the group that you want to be a drawer:
// <script id="drawer" file="scripts/drawer.maki"/>
// 7. Refresh your skin(F5) and try it out.
//*****************************************************************************

// EXAMPLE XML
//=============================================================================
//<groupdef id="DrawerGroup" w="39" h="158"> <!-- 39,0 -->
//
// <layer id="Drawer" image="player.Drawer" x="0" y="0" sysregion="1" move="0"/>
// <layer id="DrawerInfo" x="13" y="0"/>
// //add other objects that you want to move with the drawer here
//
// <script id="drawer" file="scripts/drawer.maki"/>
//</groupdef>
//=============================================================================
// ***Don't forget to place your group somewhere in your layout!***
// <group id="DrawerGroup" x="47" y="0"/>
Attached Files
File Type: zip drawer.zip (2.3 KB, 2535 views)
frisbeemonkey is offline   Reply With Quote