Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
_MessageVectordump1 Function
Syntax
C++
static ConsoleDocFragment _MessageVectordump1("@brief Dump the message vector to a file without a header.\n\n" "@param filename Name and path of file to dump text to.\n" "@tsexample\n" "// Dump the entire chat log to a text file\n" "HudMessageVector.dump(\"./chatLog.txt\");\n" "@endtsexample\n\n\n", "MessageVector", "void dump( string filename);");

ConsoleMethod( MessageVector, deleteLine, bool, 3, 3, "(int deletePos)" "Delete the line at the specified position.") { U32 pos = U32(dAtoi(argv[2])); if (pos >= object->getNumLines()) return false; 

object->deleteLine(pos); return true;

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!