entitys in einer for/next schleife copieren ???

Übersicht BlitzBasic Blitz3D

Neue Antwort erstellen

sidolin

Betreff: entitys in einer for/next schleife copieren ???

BeitragDi, Feb 10, 2004 13:10
Antworten mit Zitat
Benutzer-Profile anzeigen
arg.
wie muß die for next schleife für copyentity aussehen ?
Code: [AUSKLAPPEN]

for i=1 to 4
 baum(i)=copyentity(baum)
next

positionentity baum1,x,y,z
positionentity baum2,x,y,z
positionentity baum3,x,y,z
positionentity baum4,x,y,z

so gehts nicht.
hilfe, hab keine idee.

D2006

Administrator

Betreff: Re: entitys in einer for/next schleife copieren ???

BeitragDi, Feb 10, 2004 13:34
Antworten mit Zitat
Benutzer-Profile anzeigen
war doch fast richtig Wink

Code: [AUSKLAPPEN]

Dim baum(5)

For i=1 To 4
 baum(i)=CopyEntity(baum)
Next

PositionEntity baum(1),x,y,z
PositionEntity baum(2),x,y,z
PositionEntity baum(3),x,y,z
PositionEntity baum(4),x,y,z


MfG

sidolin

BeitragDi, Feb 10, 2004 13:46
Antworten mit Zitat
Benutzer-Profile anzeigen
ups

Neue Antwort erstellen


Übersicht BlitzBasic Blitz3D

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group