hello to everyone!
sorry my english is not perfect.
my problem is that I want to bring back the ship's smoke.
I do not know 'how to do please help me.
I'll post the video to help you understand and code.
Smoke:
inc Smokec:if Smokec>4 then Smokec=0
if Smokec=0
inc Smok:if Smok>50 then Smok=1
position object 65360+(Smok-1),limb position x(1,6),limb position y(1,6),limb position z(1,6)
Smoke(Smok)=40
inc Smok:if Smok>50 then Smok=1
position object 65360+(Smok-1),limb position x(1,7),limb position y(1,7),limb position z(1,7)
Smoke(Smok)=40
endif
rem adesso c'è il ciclo del fumo!!!!!!!!!!!!!!!!!!!!
for s=1 to 50:rem controllo le 50 posizioni del fumo
if Smoke(s)>0:rem se è stata attivata questo fumo
rem decrementiamone la vita
dec Smoke(s)
rem mostriamo il fumo
show object 65360+(s-1)
position object 65360+(s-1),object position x(65360+(s-1))+rnd(2),object position y(65360+(s-1))+rnd(2),object position z(65360+(s-1))+rnd(2)
rem mostriamo la plain verso la telecamera
point object 65360+(s-1),camera position x(),camera position y(),camera position z()
rem se sono a 0,nascondiamo il fumo (ma non lo eliminiamo!!!!!)
if Smoke(s)=0 then hide object 65360+(s-1)
endif
next s
return
http://youtu.be/ExlDoe8sR_Y