Armageddon General Discussion Board

General => Code Discussion => Topic started by: Reiteration on July 14, 2010, 06:28:33 PM

Title: Arrange a group of objects?
Post by: Reiteration on July 14, 2010, 06:28:33 PM
I'm wondering if it is possible to arrange something so it changes the sdesc of the group of objects instead of separating the single object from the pile and setting it's sdesc.

If not, what if arranging the object without a numbered identifier 'skull' instead of 1.skull, 2.skull, 3.skull, would change the sdesc from something like 'A few skulls are here'.

The main thing that brought this up was, I was wanting to know if I could arrange planks or logs into piles in the room, such as:

A few long wooden planks are here stacked together into a short pile.

instead of having

A long wooden plank is here stacked together with some other planks into a short pile.
A few long wooden planks are here.



Thoughts, comments, answers?
Title: Re: Arrange a group of objects?
Post by: netflix on July 14, 2010, 06:34:30 PM
I think I recall a convo not to long ago where Morgenes said this wasn't going to happen in Arm?

Personally, I just use client shortcuts. I know tintin allows for loop commands... #loop {1,9}{arrange %0.plank stacked together against the wall}
Title: Re: Arrange a group of objects?
Post by: shadeoux on July 14, 2010, 06:35:26 PM
I wouldn't see why

arrange all.plank blah blah blah wouldn't work anyone confirm or deny this?

Title: Re: Arrange a group of objects?
Post by: Reiteration on July 14, 2010, 06:38:12 PM
Quote from: shadeoux on July 14, 2010, 06:35:26 PM
I wouldn't see why

arrange all.plank blah blah blah wouldn't work anyone confirm or deny this?



You don't see a 'all.plank' here to arrange.

Quote from: netflix on July 14, 2010, 06:34:30 PM
I think I recall a convo not to long ago where Morgenes said this wasn't going to happen in Arm?

Personally, I just use client shortcuts. I know tintin allows for loop commands... #loop {1,9}{arrange %0.plank stacked together against the wall}

Will they all stack together or have like eight instances of
'A long wooden plank is here stacked together against the wall.'

Edit:

It worked, I typed:
#loop 1,5 {arrange %{i}.plank collectively stacked against a wall}

and it produced:
A few long wooden planks are here collectively stacked against a wall.

Thanks for the tip Netflix
Title: Re: Arrange a group of objects?
Post by: bcw81 on July 14, 2010, 06:47:00 PM
Yeah, that works. I do it in a simpler way though.

Set your clients settings so your commands stay after you hit enter.
>Drop Skull BLAH
Hit enter for however many skulls.
>A few skulls are here BLAH
Title: Re: Arrange a group of objects?
Post by: Reiteration on July 14, 2010, 06:53:41 PM
Quote from: bcw81 on July 14, 2010, 06:47:00 PM
Yeah, that works. I do it in a simpler way though.

Set your clients settings so your commands stay after you hit enter.
>Drop Skull BLAH
Hit enter for however many skulls.
>A few skulls are here BLAH

Yeah, but what if you were arranging a bunch of skulls already in the room, you'd have to pick them all up and drop them all again.
Title: Re: Arrange a group of objects?
Post by: spawnloser on July 14, 2010, 08:42:48 PM
Simply being able to 'arrange all.XXXXX' would be nice.  Don't know why that couldn't happen, but oh well.  As it stands you can do this...> arrange 1.plank ...
> arrange 2.plank ...
> arrange 3.plank ...
> arrange 4.plank ...
> arrange 5.plank ...
...still at least.