function light_place(x,y,z,r,g,b,range) { ENTITY* light = ent_create(NULL,vector(x,y,z),NULL); light.red = r; light.green = g; light.blue = b; light.lightrange = range; } function main() { ... level_load(...); light_place(100,100,100,0,0,255,1000); ... }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de