Quote: "if anyone one has played cod zombies then you know they take down barriers is there a script for them to do that"
This part is easy achievable.
Quote: "and is there a script for the barrier to be rebuilt and give you points for rebuilding"
If I get your point, you are talking about one barrel totally broken, and you want to take all the pieces, and redone the barrel like a puzzle. If so, I don't know how to do, not with the LUA commands we have nowaday.
Perhaps using snack and numbering pieces, I mean you has to modeled barrel debris and use it when barrel is broken, and each of this piece made as standalonne one, due so, GG will give a entity number to each one when you place them in your map, so you could use it to work with.
IE: imagine you've barrel compund by 10 pieces, so, when all the pieces from 0 to 9 being closets, (entity positions), so, you can considere barrel as rebuilded. Surelly you'll need some sort of
static variable to hold this value and increase it till you get the goal.
You'll have to store initial position of each pieces, due this is the position you'll has to reach, in order to considere barrel as rebuilded.
And don't forget than you'll have to place each piece as puzzle in GG editor, till get the barrel right done.
I never had done something like this before, but you can try.
Edit: I miss something.
Perhaps you most take a look in script forum, smallg has a very useful scripts there. In fact this is the right side for this thread, just my thought.
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics