how do i make npc's dance? or i know how to make them dance (.npc e 10) but how do i make them to always do that? even after that i restart :P plz help
The one that helps: +Rep ^^
how do i make npc's dance? or i know how to make them dance (.npc e 10) but how do i make them to always do that? even after that i restart :P plz help
The one that helps: +Rep ^^
Lines of Coding: |||||||||| Goal 1000
Current: 677 Achived Goals: 500 Lines
In creature_proto there is a box im not sure what it is called, but i think it is "emote_state" or something close to that, Just put "10" in there and your away!
thx+Reo
Edit: there was no sutch box![]()
Last edited by Jonthe838; 01-01-2009 at 06:12 AM.
Lines of Coding: |||||||||| Goal 1000
Current: 677 Achived Goals: 500 Lines
Hmm, let me think, i need a database to look at, ill get back to you
It might be under creature_names, i would check there also
Last edited by Kiev; 01-01-2009 at 06:33 AM. Reason: Edit?
From in game you can do .npc emote 10 (or 400 for humans) as you said. When the server next restarts for any reason whether a normal restart or crash, the npc you emoted will go back to it's original state (not dancing). To make it so that it stays dancing for ever, delete the npc then spawn it again in exactly the same place, go to creature_spawns table in your database and scroll by highest id, this should be the npc you just spawned. Now scroll right a bit and it will have row called "emote_state" which will currently be set to 0 hopefully. Change it to the emote you want it to have (10 for normal dancing) then save it and close it down. Restart your server and when you log back in, your npc should be dancing. Good luck!
OMG! thanks+Rep!!
![]()
Lines of Coding: |||||||||| Goal 1000
Current: 677 Achived Goals: 500 Lines
Or ingame you could just do .modify npcemote 1-40They stay after server restart aswell, this is the lazy way incase you can't be bothered openening Navicat :P
i tryed that one but they disepeared when i restarted![]()
Lines of Coding: |||||||||| Goal 1000
Current: 677 Achived Goals: 500 Lines