Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / 2 questions

Author
Message
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 18th Apr 2004 23:40
why does the cannot close nest error appear in general and are there any other ways to give a model multiple animations other than append object

sj
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 19th Apr 2004 00:33
you have to have as many closing statements for loops as you have opening ones eg:

for i-1 to 10
for l=1 to 10
next l

is wrong, you have to have the "next i" on the end, this also applies to repeat-until,do-loop,while-endwile and any others.

just how would you give the model multiple animations if you didn`t append them?, the question is nonsense, if you mean how could get the same effect then you could just use different models and swap them between syncs, or you could make a model with all the animations you want and then play just the bits of the model animation you want (a kind of "pre-appended" model) but you will use less video memory and make life easier if you just append animations as you want them in the long run, cheers.

Mentor.

PC1: P4 hyperthreading 3ghz, 1gig mem, 2x160gig hd`s, ATI radeon 9800 pro gfx, 6 way surround sound, PC2: AMD 1.2ghz, 512mb ram, FX5200 ultra gfx, stereo 16 bit soundblaster, ups.

Login to post a reply

Server time is: 2024-09-22 06:28:20
Your offset time is: 2024-09-22 06:28:20