scripting syntax


(aaa3) #1

am i free to make any sub-parts in a part totally free; completely arbitrarily? providing that i open and close it right

i mean, can i use

a
{
  b
  c
  {
    d
  }
}

instead of

a
{
  b
  c
  d
}

but in such a case when normally its not needed and not usual to use, just i want it if possible coz a certain stuff at a certain place is nicer in my eyes if i do it…


(Wezelkrozum) #2

I don’t think so. You can use d as an trigger. like here


a
{
  a
  {
    b
    c
    trigger self d
  }
  d
  {
  }
}


(-SSF-Sage) #3

[QUOTE=wezelkrozum;176758]I don’t think so. You can use d as an trigger. like here


a
{
  a
  {
    b
    c
    trigger self d
  }
  d
  {
  }
}

[/QUOTE]


a
{
  spawn
  {
   wait 50
    b
    c
    trigger self d
  }
  [B]trigger[/B] d
  {
  }
}

You had a little mistake. Oh yes, and no you can’t wave your script as you want to. You need to use the correct syntax (above), otherwise it results W:ET to crash.


(aaa3) #4

k, ty, :frowning:

(tooshort)


(Wezelkrozum) #5

Sage, It was a very global example :stuck_out_tongue:
Not every thing need the word spawn at first.


(-SSF-Sage) #6

[QUOTE=wezelkrozum;176785]Sage, It was a very global example :stuck_out_tongue:
Not every thing need the word spawn at first.[/QUOTE]

Yes. But trigger does. Unless it’s pre set event name. :stuck_out_tongue: I just feelt like that was what he wanted to do.