Hello.
i'v bean starting(by starting i mean about 5 mins of codeing) on a map editor for maple engine v0.3 but streght away im running into problems.
this is my code so far:
Rem ***** Included Source File *****
sync on
sync rate 60
main:
do
load_objects(\"Modles/\",1)
sync
loop
`````````Functions````````
Function Setup(Style)
if style = 1
endif
if style = 2
endif
EndFunction
Function Load_Objects(directory$,Amount)
`Directory format:
` modles/another_folder/dfgrhvbflkgsbum/
for x = 1 to Amount
load object directory$ + str$(x) +\".x\" , x
if x = amount
gosub main
endif
next x
EndFunction
But i think it is trying to load the object 2 times, i get the error "runtime error 7007 Object already exists at line 32"
Can anyone please Help. I dont want the idia to be stranded because i cant debug
EDIT:
ok im soooooooo sorry for this but i know i was thick, i put the load object in the loop. I'v moved it and it works now. is thereanyway for a post to be deleted?
At least i try

http://img192.imageshack.us/img192/1571/errormessagepj.png