Inicio Foros Archivos del foro Archives: Neverwinter Nights Archives: Builders - NWN Scripting Help. Shop assist will not talk to the Master Craftsman
Archives: Builders - NWN Scripting
Jerim
Game OwnerNWN NWN: SoU NWN: HotU NWN 2 Suscrito: 22 jun 2002
Colgado: lunes, 29 septiembre 2003 12:02
Hopeing for a bit of help. I am working on an addition to a existing PW server. It is a shop where the master craftsmen is the PC owner. I put together a conversation where a PC can talk to the assistant and if the PC Master Craftsman is in the area , the assistant will move to him and start a new conversation saying that someone is here to see him. I put this script in the OnAction of the conversation, I can select the statement that the script is on, but it does not appear to execute. That part of the conversation tree is something like this: - NPC: Please have a seat - PC: Thank you The script is supposed to fire when the player selects "Thank you". Can anyone tell what I am doing wrong here? (nwscript) void main() { int nPlayer = 1; int nMasterFound = FALSE; int nSearch = TRUE; object oPC; object oNPC = GetObjectByTag("S1_NPC"); object oMaster; while(nMasterFound == FALSE && nSearch ==TRUE) { oPC = GetNearestCreature (CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, oNPC, nPlayer, CREATURE_TYPE_PLAYER_CHAR, CREATURE_TYPE_IS_ALIVE); string sLoginName = GetPCPlayerName(oPC); string sCharName = GetName(oPC); if ((sLoginName == "MasterPlayer") && (sCharName == "Da Master")) { oMaster = oPC; nSearch = FALSE; nMasterFound = TRUE; } else if (oPC == OBJECT_INVALID) nSearch = FALSE; nPlayer++; } if (nMasterFound == TRUE) { AssignCommand (oNPC, ActionMoveToObject (oMaster, FALSE, 1.0f)); AssignCommand (oNPC, ActionStartConversation (oMaster, "s1_customerhere", TRUE, TRUE)); } } [\nwscript]
Jerim
Game OwnerNWN NWN: SoU NWN: HotU NWN 2 Suscrito: 22 jun 2002
Colgado: lunes, 29 septiembre 2003 12:03
stupid forum...here is the script:
Jerim
Game OwnerNWN NWN: SoU NWN: HotU NWN 2 Suscrito: 22 jun 2002
Colgado: lunes, 29 septiembre 2003 11:44
Any advice? Anyone?
¿Qué significan estos iconos?
¿Dónde puedo aprender a usar los foros?
Jump To:
Select A Forum
BioWare General
-- Web Site Help
-- BioWare Online Store Support
-- BioWare News Discussion
Premium Neverwinter Nights Modules
-- Premium Neverwinter Nights 1 Modules Dis...
-- Premium Neverwinter Nights 1 Modules Tec...
Neverwinter Nights
-- NWN 1: General Discussion (No Spoilers ...
-- NWN 1: Players - Official Campaign (Spo...
-- NWN 1: Players - SoU Official Campaign (...
-- NWN 1: Players - HotU Official Campaign ...
-- NWN 1: Modules Discussion
-- NWN 1: Community Expansion Pack (CEP)
-- NWN 1: Guilds and Registry - Ye Olde Tav...
-- NWN 1: Dungeon Master's Realm
-- NWN 1: Toolset
-- NWN 1: Scripting
-- NWN 1: Custom Content
-- NWN 1: For Developers
-- NWN 1/SoU/HotU Technical Support (Self-H...
-- NWN 1: Server Admin
-- NWN 1: Linux Version - General Discussio...
-- NWN 1: Macintosh Version - General Discu...
Old Dragon Age Forums
-- Dragon Age (Old)
-- Dragon Age: Origins General Discussion
Sonic Chronicles: The Dark Brotherhood
-- Sonic Chronicles: The Dark Brotherhood G...
-- Sonic Chronicles Storyline and Strategy ...
Baldur's Gate II Series
-- Baldur's Gate II: SoA and ToB General Di...
-- Baldur's Gate II Gameplay (Spoilers!)
-- Baldur's Gate II: SoA and ToB Technical ...
Baldur's Gate Series
-- Baldur's Gate and Tales of the Sword Coa...
-- Baldur's Gate Gameplay (Spoilers!)
-- Baldur's Gate and TotSC Technical Suppor...
MDK2
-- MDK2 Gameplay (Spoilers!)
-- MDK2 General Discussion
-- MDK2 Technical Support
Shattered Steel
-- Shattered Steel General Discussion
Star Wars: Knights of the Old Republic
-- Official Announcements - Star Wars: Knig...
-- Storyline Discussion (Spoilers Warning) ...
-- Xbox Version (Spoilers Will Be Moved) - ...
-- PC/Mac Version (Spoilers Will Be Moved) ...
-- Technical Support (Self-Help) - Star War...
Jade Empire Forums
-- Jade Empire PC General Discussion (Spoil...
-- Jade Empire Xbox General Discussion (Spo...
-- Jade Empire Storyline and Strategy Discu...
-- Jade Empire Technical Support (Self-Help...
Neverwinter Nights 2
-- NWN2: General discussion forums for NWN2...
-- NWN2: Players - NWN2 Official Campaign (...
-- NWN2: Players - Mask of The Betrayer Cam...
-- NWN2: Players - Storm of Zehir (Spoilers...
-- NwN2: Mysteries of Westgate Adventure Pa...
-- NWN2: Modules
-- NWN2: Guilds and Registry
-- NWN2: Builders - NWN2 Toolset
-- NWN2: Builders - NWN2 Scripting
-- NWN2: Custom Content
-- NWN2: Dungeon Masters Realm
-- NWN2: Persistent Worlds & Multiplayer
-- NWN2: For the Mac
-- NWN2: Tools and Plugin Developers
-- NWN2: Technical Support (Self-Help)
Mass Effect Forums
-- Mass Effect 2 General Discussion (No ME1...
-- Mass Effect 1 General Discussion (No spo...
-- Mass Effect PC Version General Discussio...
-- Mass Effect Storyline and Strategy Discu...
-- Mass Effect for PC Technical Support (Se...
-- Mass Effect for Xbox 360 Technical Suppo...
Archives: Neverwinter Nights
-- Archives: For Everyone - NWN General Di...
-- Archives: NWN HotU General Discussion
-- Archives: NWN SoU General Discussion
-- Archives: Players - NWN Official Campaig...
-- Archives: Witch's Wake Discussion
-- Archives - Players - NWN Modules
-- Archives: Players - Ye Olde Tavern
-- Archives: DMs - Dungeon Master's Realm
-- Archives: Builders - NWN Toolset
-- Archives: Builders - NWN Scripting
-- Archives: Builders - NWN Custom Content
-- Archives: NWN Technical Support (Self-He...
Pre-Release NWN Archives
-- Archives - NWN Official Announcements
-- Archives - General Discussion
-- Archives - Ye Olde Tavern
-- Archives - Dungeon Master's Realm
-- Archives - Models and Model Viewer
-- Archives - Beta Toolset General
-- Archives - Beta Toolset Technical Issues
-- Archives - Beta Toolset Bug Reporting
Forums Archives
-- Archives - Baldur's Gate II Gameplay (Sp...
-- Archives: Baldur's Gate II: SoA and ToB ...
-- Archives - Off Topic
Archives: Star Wars: Knights of the Old Republic
-- Archives: Xbox Version (Spoilers Will Be...
-- Archives: PC/Mac Version (Spoilers Will ...
-- Archives: Storyline Discussion (Spoilers...
Jade Empire Archives
-- Archives - Jade Empire General Discussio...
NwN2 - Pre-Release Archives
-- NWN 2 Art and Graphics Engine
-- NWN 2 Gameplay and Rules
-- NWN 2 Toolset and Custom Content
-- NWN 2 Single Player Campaign
-- NWN 2 General Discussion
Buscar foros |
Preguntas frecuentes sobre los foros |
Archivos del foro