Results 1 to 10 of 14

Thread: [VIDEO] rotating brushmodels

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    the written script:


    Code:
    main()
    {
        something = getEnt("something", "targetname");
        
        angle = 90; // 4 times = one full round
        seconds = 1;
        
        while (1)
        {
            for (i=0; i<4; i++)
            {
                iprintlnbold("rotateYaw " + i); // 0,1,2,3 = 4
                something rotateYaw(angle, seconds);
                something waittill("rotatedone");
            }
            for (i=0; i<4; i++)
            {
                iprintlnbold("rotatePitch " + i); // 0,1,2,3 = 4
                something rotatePitch(angle, seconds);
                something waittill("rotatedone");
            }
            for (i=0; i<4; i++)
            {
                iprintlnbold("rotateRoll " + i); // 0,1,2,3 = 4
                something rotateRoll(angle, seconds);
                something waittill("rotatedone");
            }
        }
    }

  2. The Following 3 Users Say Thank You to kung foo man For This Useful Post:

    ElEmEnT (25th October 2013),EnergY (28th March 2013),STAUFFi (2nd November 2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •