Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bomy Island Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=80)
-   -   Attention personalhouse owners and architects! (https://forums.graalonline.com/forums/showthread.php?t=37694)

jeff335 09-10-2002 07:25 AM

Attention personalhouse owners and architects!
 
1 Attachment(s)
Attached is a default NPC, the Dynamic Statue, for you to put in your graal\levels\npcs directory.

If you intend to include a likeness of any renter within your house, or of yourself, please drag one of these in instead of scripting a likeness of said person.

When the person with whom it is associated enters the room, it updates itself to conform to their current appearance, and can survive level updates et cetera as it stores its data serverside. It will not induce latency as there are no timeouts and whatnot invloved, everything is done rather swiftly when a player enters the level.

The variables are this:

Housenumber is the number of your house. For instance, the number of the house with the level personalhouse5.nw is 5.

Keynumber is the number of the key of the person whose appearance you wish the Dynamic Statue to take.

Shownick must be either 0 or 1. It determines whether the statue displays the person's name below it.

Showalignment, a binary flag variable set in the same way as shownick, determines if the nick is colored to reflect the player's alignment points. Showalignment does nothing if shownick is not enabled.

Animation determines the gani used by the Dynamic Statue. Do NOT include the racial prefix or the underscore. The correct format is:

idle

NOT

human_idle or bomy_idle

This can be any gani, but if the person mimicked morphs between human and bomy regularly you will want it to be a gani that exists for both races, such as idle, sit, swim, or dead.

The string declaration for this.housecontrol may be used by the staff for specialized applications in the future, however, any alterations such that change the value of the string to anything other than House System will completely inhibit the functioning of the script.

You can add other code to the NPC if, for example, you want to put it on a half coordinate or whatnot.

Enjoy, and please reply with any comments and/or suggestions that you may have.

--Jeff (Developer)

Loriel 09-10-2002 06:56 PM

You could have posted that in my thread, but k :)

WanDaMan 09-11-2002 01:28 AM

Heh ill use it from now on mmkay!
(not the player >.)

magicbud3344 09-11-2002 03:49 AM

omcool

jeff335 09-15-2002 12:03 AM

1 Attachment(s)
Okay, here's the script for message signs. You just put in the house number, the key number, and the direction the player has to face to trigger a touch reaction. Online it lets you put messages over it.

Androk2k1 09-15-2002 12:33 AM

Jeff dah helper!


All times are GMT +2. The time now is 12:06 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.