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 → Adventure Cog.....
Adventure Cog.....
2004-12-31, 7:27 AM #1
So i need a cogcommand that make if the player push button x, x happen.....
SpriteMod (JO 2003) Roger Wilco Skin

Snail racing: (500 posts per line) ---@%
2004-12-31, 7:45 AM #2
Try the "activated" message - with accompanying code (attached to a surface) :). If you aren't more specific with your request, I think you'll find that most massassians won't - and can't - be more specific with their responses... :o

-Jackpot
"lucky_jackpot is the smily god..." -gothicX
"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
- "Ye Wearie Wayfarer"
|| AI Builder: compatible with both JK & MotS || My website ||
2004-12-31, 9:02 AM #3
JK - I don't think it's possible without new hotkeys.

MotS - PlayerAction()
2004-12-31, 11:49 AM #4
Quote:
Originally posted by Stormtrooper
JK - I don't think it's possible without new hotkeys.


yes, thats good

like opinion 1......

can you do that
SpriteMod (JO 2003) Roger Wilco Skin

Snail racing: (500 posts per line) ---@%
2004-12-31, 11:50 AM #5
Ahh - my mistake, G-man and Stormtrooper - my interpretation of "press button x" was intended for surfaces or 3do things... :o. Otherwise, exactly what Stormtrooper said :).

You can have more than one item attached to a button, but you'd have to have some cog code that cycles through them all, taking note of which "mode" you're in :). I know I wrote a cog for 007: Nightfire mod sometime ago that switched between different modes (IR/Nightvision) that was attached to using/activating only 1 item, so it is possible... :)

-Jackpot
"lucky_jackpot is the smily god..." -gothicX
"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
- "Ye Wearie Wayfarer"
|| AI Builder: compatible with both JK & MotS || My website ||
2005-01-01, 3:07 AM #6
Ok I want if the player hits that button for Item X then happen X and when he hit button for item y then happen y...
SpriteMod (JO 2003) Roger Wilco Skin

Snail racing: (500 posts per line) ---@%

↑ Up to the top!