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.

ForumsShowcase → pushing it to the limit is the only way to go...
12
pushing it to the limit is the only way to go...
2003-07-28, 10:56 AM #41
As the resident marshal, I must put you under citizen's arrest for that threadjack, DrkJedi82.
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2003-07-28, 3:53 PM #42
Your playkey verb isn't set up completely, it should be playkey(thing, keyframe, priority, flags);
Hope that helps [http://forums.massassi.net/html/smile.gif]

------------------
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
2003-07-28, 8:09 PM #43
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Friend14:
Thank you, Mr. Obvious. [http://forums.massassi.net/html/rolleyes.gif]</font>


Quote:
<font face="Verdana, Arial" size="2">Originally posted by Friend14:
And your maturity level drops yet another notch.
</font>


Good for you. Keep reaching for the stars.

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

[This message has been edited by Jon`C (edited April 1, 2003).]
2003-07-28, 9:01 PM #44
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Brad S:
I asked GoY on chat what was wrong with this cog, and he told me how to fix it, but I got disconnected before I could copy it down..
Can someone help real quick?

</font>


The problem is... well.... you aren't actually referencing the variables properly.
You need to reference them by name, not by their type. (Corrections in bold)

Code:
# Jedi Knight Cog Script
#
#SpinnerRotationCog
symbols
message startup
thing spinner
keyframe spinny=spinny.key
end

code
startup:
playkey(spinner, spinny, 2, 0x0);
return;
end


I'm really, really rusty on COG, and I'm not familiar with keyframe flags. So don't expect that to work right. [http://forums.massassi.net/html/smile.gif]

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

[This message has been edited by Jon`C (edited April 1, 2003).]
2003-07-29, 5:40 PM #45
I'm sure you probably want it to damage you, but if you for some reason didn't, you could always set rotation in the template. Or you could set rotation in the template and have the cog just handle damage.

------------------
Clarinetists, unite!

-writer and producer of Bloodwing: Fallen Soldier
(no site yet...)
Clarinetists, unite!

-writer of Bloodwing
(a work in progress)
12

↑ Up to the top!