1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

Case insensitive command cache

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Dummiesman, Apr 24, 2015.

  1. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    if you type Obj:setWind then obj:setWind it won't work, because the Obj:setWind is cached. Hopefully im not creating too many topics lol
     
    #1 Dummiesman, Apr 24, 2015
    Last edited by a moderator: Apr 24, 2015
  2. NistingurA

    NistingurA
    Expand Collapse

    Joined:
    Nov 22, 2013
    Messages:
    2,099
    isn“t it obj:setWind=(1,1,1) so it works ??
     
  3. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    Nope, it's obj:setWind(X,Y,Z)

    What i'm getting at though is T3D caches commands case insensitively, so if you enter a command in the wrong case you have to reload the game to enter that same command in the right case.
    Code:
    OBJ:setWind(1,1,1)
    
    would return an error

    then typing
    Code:
    obj:setWind(1,1,1)
    
    would return an error because its trying to execute
    Code:
    OBJ:setWind(1,1,1)
    
     
  4. CarlosAir

    CarlosAir
    Expand Collapse

    Joined:
    Nov 16, 2013
    Messages:
    336
    Yeah, can be sometines quite annoying :p

    What I usually do instead of restarting the game is typing stuff like:

    Code:
    obj:setWind(1,1,1+0)
    
    :p So it then works. :|

    Or when printing a string I append ..""

    Crappy but effective haha.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice