Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

NPC Details Window (Simple)

NPC Details Window
Version: 1

Introduction

When you press a customizable button, a small window pops up above NPC's heads, providing details for them.

Screenshots
http://img231.imageshack.us/img231/87/screen14ui.th.png[/IMG]http://img463.imageshack.us/img463/6964/screen22ko.th.png[/IMG]

Script

Instructions

Copy & Paste Below the SDK and Above Main. For Further Instructions, please refer to the Script Heading. Feel free to post any questions.

Credits and Thanks

The Clam, who Requested It

Author's Notes

Enjoy!
 
Pretty neat. Useful as an 'inspection' kinda feature. :D

Although, it seems that when you press the specified button toward non-NPC events, the script crashes. :-/
 

Anonymous

Guest

Is there anyway to make this work without the SDK? Some of my other scripts won't work with the SDK.
 
HUm, i haven't found the event caller for this script. neither i have found where to customise the text that should appear. Could you help me?
 
arachus said:
HUm, i haven't found the event caller for this script. neither i have found where to customise the text that should appear. Could you help me?

It says right in the beginning of the script- you use comments in the event.

This could be really useful for my two-week game as an added feature. If you can release a non-SDK version soon it'd kick ass.
 
I am actually doing a much more improved version of this + an advanced Hero + NPC Database system.

You can do tons of stuff with the new version it's unreal. XD

(it can work without the SDK and all you have to do is remove the SDK logging and enable test.

These lines:
Code:
#------------------------------------------------------------------------------
# * SDK Log Script
#------------------------------------------------------------------------------
SDK.log('NPC Details Window', 'SephirothSpawn', 1, '2006-07-11')

#------------------------------------------------------------------------------
# * Begin SDK Enable Test
#------------------------------------------------------------------------------

if SDK.state('NPC Details Window')
  

#--------------------------------------------------------------------------
# * End SDK Enable Test
#--------------------------------------------------------------------------
end


I will try to see if I can't finish the new version/merge/new stuff this weekend to early next week.)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top