Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   putnpc3 (https://forums.graalonline.com/forums/showthread.php?t=45968)

Andy0687 07-05-2003 11:16 PM

putnpc3
 
i was using putnpc2 today on babylon

and while i was working with it i couldnt get the z to set at all
even in the operation of the npc

so i thought a putnpc3 where z could be set would be benificial

putnpc3 x,y,z,(operations{)

Edit:
Myself and anU were also talking about an operation to put more then one at once

putnpcs(number),numberofnpcs,(operations{)

where you could define the position of each one to be laid like
npcslay[1].putpos=x,y;

Falados 07-06-2003 12:14 AM

wow, waaay too complicated for such a simple command. Maybe the extra Z is good, but you can loop if you want to place multiple NPCs.

did you forget...

with(npc[npcscount-1]) {z=#;} ???

Andy0687 07-06-2003 12:58 AM

Quote:

Originally posted by Falados
wow, waaay too complicated for such a simple command. Maybe the extra Z is good, but you can loop if you want to place multiple NPCs.

did you forget...

with(npc[npcscount-1]) {z=#;} ???

suppose so :megaeek:
Edit:
But everything i tried to set the z of the npc, didnt work =/
unless i had it on a level npc

Python523 07-06-2003 03:36 AM

just do putnpc2 targetx,targety-getz(targetx,targety)


All times are GMT +2. The time now is 06:13 AM.

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