Quantcast

Jump to content

» «
Photo

about the native funct BEGIN_CAM_COMMANDS

1 reply to this topic
123iamking
  • 123iamking

    Who am I?

  • Members
  • Joined: 21 Jan 2011

#1

Posted 26 March 2013 - 02:26 AM

I saw native function BEGIN_CAM_COMMANDS
but I don't understand what is the Parameter 1 pointer Cam Command Handle ?
could you help me please ? inlove.gif

jdmalex2
  • jdmalex2

    Player Hater

  • Members
  • Joined: 25 Feb 2012

#2

Posted 30 March 2013 - 03:17 PM

QUOTE (123iamking @ Tuesday, Mar 26 2013, 02:26)
I saw native function BEGIN_CAM_COMMANDS
but I don't understand what is the Parameter 1 pointer Cam Command Handle ?
could you help me please ? inlove.gif

the handle is just a pointer to the cam.

example:

int cam;

CREATE_CAM(14, &cam);
SET_CAM_ACTIVE(cam, true);
SET_CAM_PROPAGATE(cam, true);
ACTIVATE_SCRIPTED_CAMS(true, true);


BEGIN_CAM_COMMANDS(cam);
then you follow it with some commands like set blur / shake etc




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users