Domi Posted August 27, 2006 Share Posted August 27, 2006 The CreateCreature under IWD2 documented in IESDP as the same for all IE games. However, coded as per BG2 ie (CreateCreature(S:NewObject*,P:Location*,I:Face*)), it gave me the following Parse: [iWD2NPC/baf/P#AR1000.baf] PARSE ERROR at line 8 column 36-36Near Text: ) Type mismatch in "ScriptName" argument of [CreateCreature]. Expecting type "string". [iWD2NPC/baf/P#AR1000.baf] ERROR at line 8 column 36-36 Near Text: ) Parsing.Parse_error ERROR: parsing [iWD2NPC/baf/P#AR1000.baf]: Parsing.Parse_error I browsed IWD2 scripts and the syntaxis in IWD2 seems to be different from BG2 (from 50CVenl0.BCS) : CreateCreature("50HNT","HUNTER_1_NEW",[2005.1070],0) where 50HNT is the CRE name; 50Hunter is a script name (death variable) and HUNTER_1_NEW does not show on CRE file. I tried replacing the second position with death variable and the script compiled. Link to comment
igi Posted August 18, 2007 Share Posted August 18, 2007 Good catch, thanks. I've updated the main CreateCreature entry in the local copy, let me know if any other references need updating. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.