Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → i need a COG where when an enemy dies, next level or cutscene will follow
i need a COG where when an enemy dies, next level or cutscene will follow
2003-03-31, 8:37 AM #1
What do i need to put in a cog that when i kill a certain enemy, then a cutscene will follow. (Or the next level).

Yes, i know. I'm not that good in programming, and i tried searching the forums, but found nothing.

Please answer me. THANKS [http://forums.massassi.net/html/smile.gif]

------------------
2003-03-31, 9:52 AM #2
[Code tags please...]
Code:
# Jedi Knight Cog Script
#
# Description
# Starts a new level when the thing is killed
#
# This Cog is Not supported by LucasArts Entertainment Co

symbols
thing		killme
message		killed
end
code

killed:
	//If you want to compleate a objective put the goal with
	//the 2 setting here. (see massassi tutor)
print("Misshion objective complte");
	//pop in youown text above /\/\/\/\
sleep(2);
jkendlevel(1);
return;
end

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[This message has been edited by GBK (edited March 31, 2003).]
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2003-03-31, 10:01 AM #3
I hope yo'll realise that was the first cog i ever posted?

------------------
I am pjb.
Another post......
another moment of my life wasted.....
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2003-03-31, 5:28 PM #4
Code:
#03/2003 GBK
Symbols
Message Killed
Thing Victem
Int Dir=1
Flex Time=2
End
Code
Killed:
JKstringclear();
JKstringconcatasciistring("Your text here.");
JKstringoutput(-3, -1);
Sleep(Time);
JKendlevel(Dir);
Stop;
End


[http://forums.massassi.net/html/tongue.gif]

------------------
Createthingatpos(GBK, 0, '0 0 0', '0 0 0');
And when the moment is right, I'm gonna fly a kite.
2003-03-31, 9:24 PM #5
Thanks guys. I will trie it. I'm sure it will work [http://forums.massassi.net/html/smile.gif]

------------------
2003-03-31, 10:20 PM #6
Yep, they worked. Thanks again.

------------------

↑ Up to the top!