Page 1 of 1

nox map editor - script - array

PostPosted: Thu Nov 12, 2015 3:53 pm
by panic
I want use array function...!!

for example..

Gvar32[0] = Object("FistTrap01")
Gvar32[1] = Object("FistTrap02")
Gvar32[2] = Object("FistTrap03")
Gvar32[3] = Object("FistTrap04")

but, this is not work...

why not?

Re: nox map editor - script - array

PostPosted: Fri Nov 13, 2015 7:05 pm
by superjack46
It's because arrays don't work in multiplayer.

Re: nox map editor - script - array

PostPosted: Sat Nov 14, 2015 6:54 am
by panic
but... public quest maps (g_castle,g_mines...) use array function...
there work array function good well...


sorry i don't speak english well...
iam korean..

Re: nox map editor - script - array

PostPosted: Sat Nov 14, 2015 7:04 am
by panic
so... i think array function is not simulated from the latest map editor..

do you agree with the opinion of me?

Re: nox map editor - script - array

PostPosted: Sun Nov 15, 2015 4:44 pm
by superjack46
Well, try changing the field of valor map (this one: https://www.youtube.com/watch?v=lrZ6xXEa5-Y) to multiplayer, the arrays will not work and the fists of vengeance don't work.

Re: nox map editor - script - array

PostPosted: Mon Nov 16, 2015 4:18 am
by panic
this map use array function...

you play this map!

map name : dance
type : arena

array function test.

Re: nox map editor - script - array

PostPosted: Wed Nov 18, 2015 8:06 am
by BURN3R
As far as I know, arrays are not supported in the editor.

Re: nox map editor - script - array

PostPosted: Fri Jan 22, 2016 1:45 pm
by Xandros
You can use arrays, if you make map with old version of KirConjurer's map editor. It using completely different script compiler and code syntax (C-like).
I have this version, but it doesn't have many cool things like "wall autobrush" and so on.

Re: nox map editor - script - array

PostPosted: Sat Jan 23, 2016 1:15 pm
by Damaskox
Can you make the map with the new Editor, and add the Arrays with the old version?