Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   EditNPCs, PutNPC (https://forums.graalonline.com/forums/showthread.php?t=31695)

zallus-k 06-16-2002 08:14 AM

EditNPCs, PutNPC
 
Did you know that using the putnpc command in an EditNPC writes the NPC to the level? The only thing is, there is no command to update the level to check for new NPCs... is there? I'm asking this because I'm writing a script to automate the replacement of tree tiles with tree graphics.

nyghtGT 06-16-2002 12:06 PM

Re: EditNPCs, PutNPC
 
Quote:

Originally posted by zallus-k
Did you know that using the putnpc command in an EditNPC writes the NPC to the level? The only thing is, there is no command to update the level to check for new NPCs... is there? I'm asking this because I'm writing a script to automate the replacement of tree tiles with tree graphics.
If there was you would use the updateboard comamnd possibly and then have a variable saved before hand containing the npcscount and then check it after you update.

Falcor 06-17-2002 09:01 PM

Putnpc is temprorary, they delete after your reload the level.

zallus-k 06-18-2002 07:58 AM

Not in the editor they don't. Just try putting a putnpc command in an editnpc. Try it. Tryyyy ittttt!!! ...ow.

Falcor 06-18-2002 09:16 AM

Yes it does work, Never really experimented with EditNPCs before. Well all you have to to is run the level anyhow. then you press f4 and they are there. simple eh?


All times are GMT +2. The time now is 08:15 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.