+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 11 to 14 of 14

Thread: An Expression a day keeps a clear mind away

  1. #11
    Inactive lavacano201014 is on a distinguished road lavacano201014's Avatar
    Join Date
    Dec 2008
    Posts
    39

    Default Re: An Expression a day keeps a clear mind away

    Code:
    P = Plate:angles():pitch()
    Y = Plate:angles():yaw()
    R = Plate:angles():roll()
    
    Maybe should be?:

    Code:
    if (first() | duped()) {
      P = Plate:angles():pitch()
      Y = Plate:angles():yaw()
      R = Plate:angles():roll()
    }
    
    That's how I'd roll it.
    Last edited by lavacano201014; 07-02-2009 at 05:23 PM. Reason: Indentation

  2. #12
    E2 Optimizer
    chinoto is on a distinguished road chinoto's Avatar
    Join Date
    Apr 2008
    Location
    In the skybox, lost another contraption...
    Posts
    1,633

    Default Re: An Expression a day keeps a clear mind away

    The expression would just spin around without a goal.

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
    (")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...

  3. #13
    Wirererer xixo12e is an unknown quantity at this point xixo12e's Avatar
    Join Date
    Feb 2009
    Posts
    169

    Default Re: An Expression a day keeps a clear mind away

    Learned this in my first ever computer programming class.

    Count = Count + 1

    So, degrees = degrees +/- 1, if above 360 reset to 0.

  4. #14
    E2 Optimizer
    chinoto is on a distinguished road chinoto's Avatar
    Join Date
    Apr 2008
    Location
    In the skybox, lost another contraption...
    Posts
    1,633

    Default Re: An Expression a day keeps a clear mind away

    I already gave code that will work, it just needs tweaking if I coded it to tilt in the opoosite direction.

    (\__/) <- Put this bunny in your sig and help him to rule the world!
    (='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
    (")_(") Expression Gate 2 Wiki Help us update the wiki! Together we can make it more up to date than the SVN! ...

+ Reply to Thread
Page 2 of 2
FirstFirst 1 2

Similar Threads

  1. Console Screen Clear
    By grandpapolly in forum Help & Support
    Replies: 12
    Last Post: 05-31-2009, 08:33 PM
  2. i fun E2 (pick thing up wit your mind!!!)
    By steelseeker in forum Custom Gates
    Replies: 12
    Last Post: 04-27-2009, 04:36 PM
  3. How do I clear an entity
    By SpectreCat in forum Expression Help
    Replies: 4
    Last Post: 03-31-2009, 12:20 PM
  4. Mind if I use some Wire stuff in a map?
    By Rybec in forum Wiremod General Chat
    Replies: 3
    Last Post: 04-07-2008, 10:09 AM
  5. Mind rover will not work :(
    By George in forum Off-Topic
    Replies: 6
    Last Post: 07-08-2007, 05:49 PM

Bookmarks

Posting Permissions

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