ensiform Posted November 18, 2004 Share Posted November 18, 2004 I wrote a client command too output something like the following to a .loc file: { "classname" "target_location" "origin" "4678 -2564 4" "message" "^1Red ^7Flag" } The client command is \dumploc <message> where message is what is put in that field of the file and the origin is you current location. Can someone help me with parsing this like during init or server ? I know hex did it a different way but i wrote my dump command like this Link to comment Share on other sites More sharing options...
razorace Posted November 20, 2004 Share Posted November 20, 2004 Check out one of the many parsing functions used by the game to load in data. I typically use the siege parsing code for my stuff. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.