Graal Forums  

Go Back   Graal Forums > PlayerWorlds > Bomy Island Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-10-2002, 07:25 AM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
Attention personalhouse owners and architects!

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)
Attached Files
File Type: txt defnpcgraal2001-ph-statue.txt (682 Bytes, 208 views)
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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