Mike Caron | 2 May 2006 19:06
Picon
Gravatar

npc extra() and set npc extra()

On 5/2/06, Bob the Hamster <Bob at hamsterrepublic.com> wrote:
> On Tue, May 02, 2006 at 09:48:26AM -0700, subversion at HamsterRepublic.com wrote:
> > pkmnfrk
> > 2006-05-02 09:48:26 -0700 (Tue, 02 May 2006)
> > 224
> > new plotscripting commands npc extra() and set npc extra(). These allow you to store up to two numbers
that are specific to a particular *instance* of an NPC. Useful for HP (in npcs that act like monsters), mini
games, etc.
> > ---
> > U   wip/docs/plotdict.xml
> > U   wip/plotscr.hsd
> > U   wip/udts.bi
> > U   wip/whatsnew.txt
> > U   wip/yetmore.bas
>
> This change increases the size of the NPC instance array by at least
> 1200 bytes. I am worried this may be a problem for the QB version. It
> will compile, but does it run? 1.2k is a lot when you are barely
> squeezing into 640k.
>
> I do like this feature-- I will definitely use it when I get back to
> developing Baby Bob further-- but it may be best to leave it out until
> after we drop QB.

Well, it runs my game without crashing (an issue that I'm in the
process of detailing notwithstanding). So...

--
Mike Caron
Final Fantasy Q
http://finalfantasyq.com


Gmane