Constantine Posted May 3, 2014 Share Posted May 3, 2014 Hello, please remind me how to make summoned creatures to travel with the PC between areas. I remember there was a discussion about the matter somewhere, but I can't find it. Link to comment
polytope Posted May 12, 2014 Share Posted May 12, 2014 I remember familiars can move between areas because they are considered "global" objects. SCS also makes use of this to make certain creatures chase the party between areas. The relevant scripting action is: MakeGlobal() In the creature's script, and adding stuff to the background script Baldur.bcs/Baldur25.bcs: MoveGlobalObject("xyz",Player1) Where "xyz" is the creature's death variable. I'm not sure if it'll work for non-unique creatures (i.e. same script, same death variable) like summoned minions especially if they are supposed to unsummon after a period anyway. It could break something horribly, I don't know. Link to comment
polytope Posted May 12, 2014 Share Posted May 12, 2014 Coincidentally, I just stumbled upon the answer: MakeGlobal adds a creature to the .gam structure, recruiting an npc just moves it from one .gam list to another. A .cre file isn't that big, so using MakeGlobal once in a while, won't cause any visible difference. Using it without restraint will soon crash the engine Link to comment
Constantine Posted June 3, 2014 Author Share Posted June 3, 2014 Coincidentally, I just stumbled upon the answer: MakeGlobal adds a creature to the .gam structure, recruiting an npc just moves it from one .gam list to another. A .cre file isn't that big, so using MakeGlobal once in a while, won't cause any visible difference. Using it without restraint will soon crash the engine Thanks, that will do. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.