![]() |
warpto&putnpc2
does warpto work in putnpc2 npcs?
im having hard time.. |
Re: warpto&putnpc2
Quote:
|
Re: warpto&putnpc2
Quote:
|
i tried:
putnpc2 x,y,{ if (created){ warpto strtofloat(#t(1)),strtofloat(#t(2)),#t(3); } } but it doesnt work :( |
Level name comes first
you put hte X Y 1st.. warpto level,x,y; |
for future reference...
i figured it out.. (with help from er1c)
here is what er1c contributed: NPC's layed with putnpc2, are local to the level. here is what i figured out.. an easy way to put an npc in any level, and keep the original db npc in the same level is this: NPC Code: it warps the db npc to the level at the x,y to lay at, puts the npc, then warps it back right where it came from. easy, simple, precise. so please dont post about this anymore. |
Yes putnpc2 npcs are local, they have local ids,
so they cannot warp. Only on Graal2002 they can 'warp' (because the maps are like one big level). |
Quote:
only with predefined movements, like x++, or move. right? |
only NPCs in the database can use warpto, and canwarp
meaning: npcs made with putnpc, or 2 aren't able to warp, but only move within the level |
stefan claims they can move from level to level, but not with warpto.
thats why i said stuff using canwarp&canwarp2 x++,move to change levels. |
Quote:
|
then what is stefan saying
|
He's saying the NPCs made with putnpc can't warp =)
|
Stefan's saying that putnpc2 NPCs cannot warp on the graal2001-type NPC server.
|
The npcs on a non npc server pw are controlled by the level which they run, to move to another level they need to be controlled by a npc server.
Please correct me if im wrong. |
:megaeek: *Lost all mental capacity of this conversation when Stefan said something* :megaeek:
|
| All times are GMT +2. The time now is 05:05 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.