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 → FirstThingInView(1, 2, 3, 4);
FirstThingInView(1, 2, 3, 4);
2000-11-01, 5:22 PM #1
I'm starting to cog, and the JK Specs have been quite helpful, but I can't find the FirstThingInView anywhere in the specs (maybe I'm overlooking it). Anyway, all I need to know is the definitions of what's in the parenthesis.

IE: FirstThingInView(player, 100, 4, 0x4FE);

what, starting from the left and going to the right, do those things mean? (player is obvious, but I need to know the exact definitions in order to uderstand this)

------------------
Those who stare in the eyes of death and laugh will be the first to go.
Those who stare in the eyes of death and laugh will be the first to go.
2000-11-02, 1:08 AM #2
According to Millenium's Cog Verbs list (which completely identifies all cogs and their meanings that aren't explained in JKSpecs), this is it:

FirstThingInView() - Gets a thing in the specified view from a thing. Use : FirstThingInView(ThingThatFinds, FOV(in angle), Distance(jku), WhatToLookForFlag); Flag is the thing type value. Returns the thing found.

-Jipe
2000-11-02, 2:41 AM #3
Thanks, but one more thing. FOV means something of view, what's the F? (sorry, I'm not into all that lingo) And where is millenium located?

------------------
Those who stare in the eyes of death and laugh will be the first to go.
Those who stare in the eyes of death and laugh will be the first to go.
2000-11-02, 10:22 AM #4
field of view
http://millennium.massassi.net

-Jipe

↑ Up to the top!