Misc Scripts
NWN Script: story.htm
| Author | Sticky: Post Working Scripts Here |
| Ayath the Loafer | Posted: Saturday, 27 July 05:57PM |
| At last. I have done it. This script is mine. I made it. It is far from finished but to tell you the truth - I'm really proud of it. I actually managed to make something of my own. And all thanks to Celowin. Without his great tutorials I would never have attempted functions. 1. The script is called "Tale Telling" because that is what it does. However - this is different. In my new module (the one I'm still working on and had to restart because of the thing crashing on the conversation) I have the PC doing stuff in an Inn and ending up agreeing to tell the story about how he lost his fingers. When he sits in a specific chair he starts telling the story and at the end he gets transited to a village where the PC then starts acting out the Tale. There will of course be a condition on the chair so that the Tale Telling only starts when all information has been had from the NPC's. But that's for later. The Tale Intro gets shown above the PC's head as this fancy floating text that fades away. The function that controls the lot has four parameters that control what text to show, the creature that speaks, the pause for next line and wether or not the text is shown for other members of the same faction. void Floattxt(object oCreature, string sTextToFloat, float fSeconds, int bShowFaction=TRUE) Here's the script - it needs more work but I just couldn't wait to make my little contribution to the forum's.
|
|
All Misc Scripts
📄 arena
📄 cast_bless_on_PC
📄 change_music
📄 chess_game
📄 climbing
📄 climbing_002
📄 common_includes_002
📄 cone_aoe
📄 cron
📄 cross_country_travel
📄 daoc_style_graves
📄 determine_time
📄 effects
📄 escort
📄 ez_respawn
📄 faction
📄 floating_text
📄 function_includes
📄 gambling
📄 include_sounds
📄 include_time_date
📄 jail
📄 jail_system
📄 journal_entry
📄 logbook
📄 manage_action_queue
📄 mmorpg_vault
📄 mod_intro
📄 mod_intro_002
📄 mod_intro_003
📄 mod_intro_005
📄 pers_world_database
📄 pers_world_database_002
📄 piller_of_fire
📄 plot_item
📄 portal_system
📄 portal_system_002
📄 puking
📄 quest_escort
📄 rep_per
📄 reward_rp
📄 rotation
📄 save_pc_location_002
📄 save_pc_location_003
📄 skill_checks
📄 skill_checks_002
📄 slot_machine
📄 story
📄 swimming
📄 take20_bypass
📄 vis_waypoint
📄 working_temple
📄 working_temple_002
📄 xp_gold_loss
📄 xp_gold_loss_002
📄 xp_loss_action