Yarin on 25/6/2002 at 05:43
Is there any way how to write script which positions me to place defined by variables?
i.e.
player->position, 100, 10, 50, 0
works fine, but
float xx
float yy
float zz
set xx to 100
set yy to 10
set zz to 50
player->position, xx, yy, zz, 0
doesn't work, it set's position to 0, 0, 0, 0 :(
Thanks for helping
Forsythe on 25/6/2002 at 23:58
I think the docs mention that only a few functions know how to take variables; if this isn't one of the lucky few, you might consider a huge chain of if/else's with separate positions specified on each one... :p