noob type help

Blitz3D Forums/Blitz3D Beginners Area/noob type help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

to add another cube you do this
for q=1 to 2; this sets the number of cubes you want 
p.player=New player ; creates a list for the type
p\e=CreateCube(); creates a cube under the p\e var
p\life=100;sets p\e to 100
PositionEntity p\e,rnd(-10,10),rnd(-10,10),30; puts it 30 units infront of the camera
EntityPickMode p\e,2;sets it to be pickable
EntityColor p\e,234,65,107; sets a random color that i pulled out of a hat :)
next