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 → Can someone tell me why this isn't working?
Can someone tell me why this isn't working?
2002-12-25, 4:32 PM #1
Code:
symbols

thing        HHH                                                              
sound        activation                         nolink                        
keyframe     activatekey                        nolink                         

message      startup                                                          

end                                                                           

# ========================================================================================

code

startup:
  
  MoveToFrame(HHH, 1, 1.5);
  sleep(1.5);
  AiSetLookFrame(HHH, 2);
  Sleep(1.5);
  MoveToFrame(HHH, 2, 1.5);
  Sleep(1.5);
  Print("Hmmmmm, what to get....I'll just press a button and see what I get.");
  Sleep(0.5);
  PlayKey(HHH, activatekey, 2, 0x0);
  Sleep(0.1);
  PlaySoundLocal(activation, 1, 0, 132);
  Print("Ahhhh, Coca Cola, a MAN'S drink.. HAHAHAHAHA");

   Return;

end

The thing "HHH" doesn't move to the frames, he'll look at frame 2 and play the keyframe, but he will not move, did I miss something?

------------------
Last week I cudn't evn spel grajuat, but now I is one.

*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "STROOPER WUZ 'ERE!!!"
2002-12-26, 5:58 AM #2
Try adding sleep(.25); right under startup, because it might not be created when the cog runs at startup.

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-12-26, 10:04 AM #3
Adding sleep(.25); under startup didn't work, he did the same thing as before.

------------------
Last week I cudn't evn spel grajuat, but now I is one.

*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "STROOPER WUZ 'ERE!!!"

↑ Up to the top!