why dont you just read the spawnNPC method, see what variable 3 does from the code...you'd get a far faster answer. aswell as learn a bit more about your server.
|
Well im using a 669-729 by VichY and was wondering if anyone knew anything about npc's.... maybe a lead even... don't have to spoonfeed me as i'm a pretty good programmer... i got everything down packed but one thing... npc facing...
ive heard the -1 in that is what changes the direction but it doesn't work (yes im compiling right otherwise they wouldn't spawn to begin with)Code:World.spawnNPC(NPCID, new WorldTile(X, Y, H), -1, true, true);
i've implemented these in several working locations... i know the locations should work because im far from new... but they also cease to work... could anyone possibly have a lead as to what could be causing this distortion in my npc's? ill rep+ and thank for any help what so ever.Code:player.setNextFaceEntity(null); player.setNextFaceEntity(npc); player.setNextFaceEntity(other);
what about yew loverboy?< not a burrito "wink wink"
Edit: i recoded like 12% of the npc class starting from the bottom up... works fine now :l
anyone using the same source, sorry i couldn't find a fix and i rage coded, but that gives you a hint of where the problem is... god only knows exactly what was possibly causing that.. and that -1 was the walk/still... i just made all mine walk... i dont give a shit about npc's standing still anyways..makes them look like a clothed penis.... good luck figgets.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |