Cog Files


Output Reference


Generaly these verbs will output something to the screen.

The concat functions only work with the current string, so you should clear the string ,do your thing with it and clear again to be safe. Incase another cog writes something to your string.

jkPrintUniString
jkStringClear
jkStringConcatAsciiString
jkStringConcatFlex
jkStringConcatFormattedFlex
jkStringConcatFormattedInt
jkStringConcatInt
jkStringConcatPlayerName
jkStringConcatSpace
jkStringConcatUniString
jkStringConcatVector
jkStringOutput
Print
PrintFlex
PrintInt
PrintVector


jkPrintUniString() Control

Prints a Unicode string to screen. Cog Strings Ref

Use: jkPrintUNIString(destination,Int); Often in the code you will see Int as "bin" this is not to be confused with an actual bin,it is the cog string number to print. If you check the symbols section you will see bin is usualy assigned an "Int"
Note: If Multiplayer, the string will be outputted to everyone if destination = -3.


jkStringClear() Control

Clears a conactenated string (linked,appended)

Use: jkStringClear();


jkStringConcatAsciiString() Control

Concanates an ASCII value to the string.

use: jkStringConcatAsciiString("Ascii String");


jkStringConcatFlex() Control

Concatenates a flex value to the string.

use: jkStringConcatFlex(flex);


jkStringConcatFormattedFlex() Control

Concatenates formatted flex values to the string.

use: jkStringConcatFormattedFlex(flex);


jkStringConcatFormattedInt() Control

Concatenates formatted Ints to the string.

use: jkStringConcatFormattedInt(int);


jkStringConcatInt() Control

Concatenates an Int to the string.

use: jkStringConcatInt(int);


jkStringConcatPlayerName() Control

Concatenates the player name to the string.

use: jkStringConcatPlayerName(thingPlayer);


jkStringConcatSpace() Control

Concatenates a space in the string.

use: jkStringConcatSpace();


jkStringConcatUniString() Control

Concatenates a unicode string to the string.

use: jkStringConcatUniString(intUNIString);


jkStringConcatVector() Control

Concatenates a vector to the string.

use: jkStringConcatVector(vector);


jkStringOutput() Control

Outputs a string to the game

use: jkStringOutput(destination, source);

Note: If Multiplayer, the string will be outputted to everyone if destination = -3.
If the source has a player value to it, the text will read: 'player says...' instead of '...'


Print() Control

Prints a string to the console

Use: Print("text");


PrintFlex() Control

Prints a Flex to the console.

Use: PrintFlex(flex);


PrintInt() Control

Prints an Int to the console.

Use: PrintInt(Int);


PrintVector() Control

Prints a vector to console.

Use: PrintVector(Vector);