Announcement

Collapse
No announcement yet.

quakeworld & darkplaces - technical questions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by R00k View Post
    been a while but something like

    h1.va[x] = 100;

    ?
    Ahh thanks, that's almost it. It doesn't recognise 'x', so I tried h1.va[0] and that worked. I presume that x, y, z are usually defined globally and set to 0, 1, 2 respectively? Seems dangerous. I presume that a local variable will get precedence over a global variable if I did something like: local float x; x = 10.0;

    Comment

    Working...
    X