Gixcaririxen Posted January 10, 2011 Share Posted January 10, 2011 (edited) when compiling the following script://:://///////////////////////////////////////////// //:: Module Template //:: Copyright (c) 2003 Bioware Corp. //::////////////////////////////////////////////// /* Module events */ //::////////////////////////////////////////////// //:: Created By: //:: Created On: //::////////////////////////////////////////////// #include "log_h" #include "utility_h" #include "wrappers_h" #include "events_h" void main() { event ev = GetCurrentEvent(); int nEventType = GetEventType(ev); string sDebug; object oPC = GetHero(); object oParty = GetParty(oPC); int nEventHandled = FALSE; switch(nEventType) { //////////////////////////////////////////////////////////////////////// // Sent by: The engine // When: The module starts. This can happen only once for a single // game instance. //////////////////////////////////////////////////////////////////////// case EVENT_TYPE_MODULE_START: { object oMapId = GetObjectByTag("hut_exterior"); WR_SetWorldMapPrimary(oMapId); PreloadCharGen(); StartCharGen(GetHero(),0); break; } //////////////////////////////////////////////////////////////////////// // Sent by: The engine // When: The module loads from a save game. This event can fire more than // once for a single module or game instance. //////////////////////////////////////////////////////////////////////// case EVENT_TYPE_MODULE_LOAD: { break; } //////////////////////////////////////////////////////////////////////// // Sent by: The engine // When: A player enters the module //////////////////////////////////////////////////////////////////////// case EVENT_TYPE_ENTER: { object oCreature = GetEventCreator(ev); break; } //////////////////////////////////////////////////////////////////////// // Sent by: The engine // When: the player clicks on a destination in the world map //////////////////////////////////////////////////////////////////////// case EVENT_TYPE_WORLD_MAP_USED: { int nFrom = GetEventInteger(ev, 0); // travel start location int nTo = GetEventInteger(ev, 1); // travel target location break; } } if (!nEventHandled) { HandleEvent(ev, RESOURCE_SCRIPT_MODULE_CORE); } } I get this message: demo_module1.nss Unable to get resource information for the "log_h" of type "nss"What does it mean? Edited January 10, 2011 by ghershan Link to comment Share on other sites More sharing options...
Gixcaririxen Posted January 14, 2011 Author Share Posted January 14, 2011 it is possible that the tools can be linked with a scrip program Link to comment Share on other sites More sharing options...
Gixcaririxen Posted January 19, 2011 Author Share Posted January 19, 2011 anyone can help me Link to comment Share on other sites More sharing options...
Recommended Posts