PDA

View Full Version : cog runs, does it's job, then quits



Jedi Outcast
03-14-2003, 03:21 PM
How do I make a cog (a cutseen or something like that) that will not be triggered after it's done doing it's job? Like for a cutseen, you can only view it once. The only prob I'm having is that kyle keeps on freezing and somethimes the view swhiches into the camera view.

I remember the first time it happend. I was testing out a new dark jedi, and I liked it, I went to view a cutseen, later when I was leaving the room, I saw him comming, and he just happend to walk into the sector, I froze. He had a blast choping me up....

gbk
03-14-2003, 04:13 PM
<font face="Verdana, Arial" size="2">Originally posted by Jedi Outcast:
...I froze. He had a blast choping me up....</font>

Thanks, I spewed iced tea all over my monitor because of that one.




Symbols

#....

int intDone=0 Local

End
Code

Some_message:

If(intDone) Stop;
intDone = 1;




That code will ensure that the message will only run once.

------------------
Createthingatpos(GBK, 0, '0 0 0', '0 0 0');