Trying to learn cog for a project I'm working on. Please some help on why this won't work! I added it to placed cogs, start up the level, and nothing prints to the screen.
Code:
// Jedi Knight Cog Script // Author: Brian Lozier (brian@massassi.net) // ====================================================================================== // flags=0x40 symbols message startup message pulse int player local int pulse_count=0 local end // ====================================================================================== code // ------------------------------------ startup: player = GetLocalPlayerThing(); SetPulse(1); Print("Welcome to Jedi Knight"); return; // ------------------------------------ pulse: JkStringClear(); JkStringConcatAsciiString("Pulse #: "); JkStringConcatInt(pulse_count); JkStringOutput(-3, -1); pulse_count = pulse_count + 1; return; end // ======================================================================================