linking modules script problem
4 posters
Page 1 of 1
linking modules script problem
Greetings,
I have a minor problem with some selfmade modules that are not linked to Aenea at all. Let me explain, what i want to do and what my problem is.
I am building multiple different modules. One Module is supposed to be a big hub to enter into different modules. In this hub you can get a quest to go clean op a goblininfested cave. That cave is another module. So far so good. Now in that cave i have to aquire an item that i have to bring to the questgiver in the hub to get my reward. When i got it, i can go back to the hub.
Now the problem: If i reenter the hubmodule, the questitem i aquired before simply vanishes from my inventory making it impossible to complete the quest. Can you tell me what might cause the item to vanish? I know i can simply make one module for this but i want it to be different modules.
best wishes,
margolloxx
I have a minor problem with some selfmade modules that are not linked to Aenea at all. Let me explain, what i want to do and what my problem is.
I am building multiple different modules. One Module is supposed to be a big hub to enter into different modules. In this hub you can get a quest to go clean op a goblininfested cave. That cave is another module. So far so good. Now in that cave i have to aquire an item that i have to bring to the questgiver in the hub to get my reward. When i got it, i can go back to the hub.
Now the problem: If i reenter the hubmodule, the questitem i aquired before simply vanishes from my inventory making it impossible to complete the quest. Can you tell me what might cause the item to vanish? I know i can simply make one module for this but i want it to be different modules.
best wishes,
margolloxx
margolloxx- Commoner
- Number of posts : 8
Registration date : 2014-07-31
Re: linking modules script problem
At what point specifically is the item being removed? As you exit the goblin cave module, or as you are re-entering the hub module?
Are you using any haks? If so, do both the goblin cave module AND the hub have the same haks instaled?
Are you using any haks? If so, do both the goblin cave module AND the hub have the same haks instaled?
MannyJabrielle- Ludicrous Level
- . :
Number of posts : 5927
Main Character : See the "A-Team" thread in the Biographies forum.
DM Name : Dungeon-Master Gaelen
Time Zone : GMT -5:00(EST)
Registration date : 2008-07-05
Re: linking modules script problem
no haks and its removed on entering the hubmodule
margolloxx- Commoner
- Number of posts : 8
Registration date : 2014-07-31
Re: linking modules script problem
Check your module events to make sure none of them are set accidentally to your script for removing that item (oncliententer, onmoduleload, onacquiereitem), and do the same check for the start area's onenter event. Beyond your item removal script being called outside of the quest-giver's converation, I can't think of any reason why the item would get removed from your inventory on entering the hub module.
MannyJabrielle- Ludicrous Level
- . :
Number of posts : 5927
Main Character : See the "A-Team" thread in the Biographies forum.
DM Name : Dungeon-Master Gaelen
Time Zone : GMT -5:00(EST)
Registration date : 2008-07-05
Re: linking modules script problem
Are you saving the player between module loads ?.... I've never done any inter-module linking stuff in NWN before, I have no idea how it works. But, I'm almost certain that the main campaign (and Aenea) has some kind of "export/save PC" function between chapters (per log out).... ...
Is the item actually being removed (the log says Lost item: xxxx) or are you just not carrying it correctly...
Is the item actually being removed (the log says Lost item: xxxx) or are you just not carrying it correctly...
RustyDios- High Epic Level
- Number of posts : 2271
Age : 40
Location : England // Getting lost in Aenea
Main Character : Jay Braysin, The Wandering Shadow, Protector of Nektaria, Talon's Eternal Foe
Other Character : Shouri Braysin, The Shimmerstar's Moonlight Sorceress
Other Character. : Grace Fularras, Walking Library , Cleric of Mystara
Other Character.. : See my sig ... And here too ...
NWN Username : RustyDios
Time Zone : GMT (England, DST)
. :
Registration date : 2008-07-28
Re: linking modules script problem
StartNewModule("bla"); will carry all playercharacters over to the new module as they are. There is no need to manually save them, though it might be wise to do so anyway.
The problem here was the onModuleLoad event. The tagbased itemscript stuff was messing things up. I removed it completely and its fine now.
Thanks for your input.
The problem here was the onModuleLoad event. The tagbased itemscript stuff was messing things up. I removed it completely and its fine now.
Thanks for your input.
margolloxx- Commoner
- Number of posts : 8
Registration date : 2014-07-31
Similar topics
» Good Singleplayer Modules
» Script question
» The 'Access' Problem
» Disarm Script
» Not Used: climbing rope script
» Script question
» The 'Access' Problem
» Disarm Script
» Not Used: climbing rope script
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum