evilbunnie Posted November 24, 2009 Author Share Posted November 24, 2009 How would i clear an npc of the mapLikeCall DeleteNpc(MapNum, NpcNum) Link to comment Share on other sites More sharing options...
Kimimaru Posted November 24, 2009 Share Posted November 24, 2009 This is the correct command:```Call ClearMapNpc(Index, MapNum)```It exists in the Server source. I'm not sure about the Client. Link to comment Share on other sites More sharing options...
evilbunnie Posted November 24, 2009 Author Share Posted November 24, 2009 Great thanks!!!I found it a while ago but just forgot about it.. Lol XD Link to comment Share on other sites More sharing options...
Robin Posted November 24, 2009 Share Posted November 24, 2009 @Kimimaru:> This is the correct command:> > ```> Call ClearMapNpc(Index, MapNum)> ```> It exists in the Server source. I'm not sure about the Client.That's used for clearing the UDT data so you don't have information from other NPCs being followed over.I don't have the Eclipse style of NPCs (It's changed in Mirage a lot) so I'll just guess.```Map(mapnum).MapNpc(mapnpcnum).Num = 0``` Link to comment Share on other sites More sharing options...
Ruins of Hell Posted November 24, 2009 Share Posted November 24, 2009 Or just spawn a null NPC over it (Call ScriptSpawnNpc) by copying the scripting command and changing it to public Sub. Link to comment Share on other sites More sharing options...
balliztik1 Posted November 24, 2009 Share Posted November 24, 2009 @[SB:> Soul link=topic=54529.msg577943#msg577943 date=1259088394]> Or just spawn a null NPC over it (Call ScriptSpawnNpc) by copying the scripting command and changing it to public Sub.That's how the map editor does it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now