Main Forum
Page
of 5

Game action: Replace block

41 replies
Posts:
1,237
Sparks:
+289
Helper
Overlord
wrote:
wrote:
wrote:
wrote:
I feel like this would have many uses like so when you deystroy the grass you want it to become in a minute you could do that with this
Player event: Break block If player block equals: grass wait 1200? replace
Sure, but there's not been particularly many points where I've thought: "Yeah, here I'd need to replace this broken block, but not immediately, like, in a little bit."
Jere wants stuff to make coding easier this would do it
I just don't see many uses for this. Sure in the break block example it would be used, but I still don't see many times when that problem happens.

You mentioned it would work with setblock too, but how?
You set a block to gold then you could replace it to diamond block or just make it gold again
Dont%20Click%20this.png
ILY MRMINE
Posted May 19, 17 · OP
Posts:
1,237
Sparks:
+289
Helper
Overlord
wrote:
I'm still confused about this suggestion... isn't it just replacing certain blocks in an area with other blocks?
Nah thats not what it is but look at what i said to SamMan_ thats a example
Dont%20Click%20this.png
ILY MRMINE
Posted May 19, 17 · OP
Posts:
341
Sparks:
+52
Emperor
wrote:
wrote:
wrote:
1Alligator wrote:
MajCat wrote:
Guys who thinks this would make a lot of games easier reply with I do if you think it would or i dont if you think it wont
I'm kinda confused on how this would work?
Would it be like this (If player [Breaks block]) (Replace block [Block])
So if I break a block of dirt I can replace that block with a piece of stone?
*Breaks Dirt* waits 10 seconds stone appears in that Same place?
Or does it just replace the block you broke like *Breaks dirt* 100 Ticks later Replaces dirt? Because if so don't we have have roll back block changes? I know it's overlord but is that what you mean?
That would be a nice thing to have it option to replace it with another block maybe might add that!
Yeah that would be cool and it would make coding this kind of stuff easier.
Posted May 19, 17
Posts:
1,237
Sparks:
+289
Helper
Overlord
wrote:
wrote:
wrote:
wrote:
1Alligator wrote:
MajCat wrote:
Guys who thinks this would make a lot of games easier reply with I do if you think it would or i dont if you think it wont
I'm kinda confused on how this would work?
Would it be like this (If player [Breaks block]) (Replace block [Block])
So if I break a block of dirt I can replace that block with a piece of stone?
*Breaks Dirt* waits 10 seconds stone appears in that Same place?
Or does it just replace the block you broke like *Breaks dirt* 100 Ticks later Replaces dirt? Because if so don't we have have roll back block changes? I know it's overlord but is that what you mean?
That would be a nice thing to have it option to replace it with another block maybe might add that!
Yeah that would be cool and it would make coding this kind of stuff easier.
I like NEED this for my next game...
Dont%20Click%20this.png
ILY MRMINE
Posted May 20, 17 · OP
Posts:
1,668
Sparks:
+879
Admins
Owner
So wait, is this specific to Player Break Block Event? I'm a bit confused.
Posted May 20, 17
Like
x 2
x 2
List
Undo
Posts:
1,237
Sparks:
+289
Helper
Overlord
wrote:
So wait, is this specific to Player Break Block Event? I'm a bit confused.
it just replaces something that was broke with code or break block event EXAMPLE
Player Event: Right click Player Action: Launch projectile
Player Event: Entity hit Game Action: set block: air Game Action: Wait: 100 Game Action: Replace block
Dont%20Click%20this.png
ILY MRMINE
Posted May 20, 17 · OP
Posts:
1,237
Sparks:
+289
Helper
Overlord
Slaps thread BE ACTIVE
Dont%20Click%20this.png
ILY MRMINE
Posted May 21, 17 · OP
Posts:
1,237
Sparks:
+289
Helper
Overlord
Bump sorry for this
Dont%20Click%20this.png
ILY MRMINE
Posted May 24, 17 · OP
Posts:
691
Sparks:
+357
Expert
Overlord
Out of interest, does this only replace any SetBlocks preformed in that action?
Guess there's a cat here now.
0a8fuAs.png

You all still get a hug tho

Tip: If your post is so short you have to put (word limit) on it, it's probably not worth posting.
Another tip: Unless you're a DF developer, don't try to say what is and isn't possible.
©
Posted May 24, 17
Posts:
1,237
Sparks:
+289
Helper
Overlord
wrote:
Out of interest, does this only replace any SetBlocks preformed in that action?
and player break block stuff
Dont%20Click%20this.png
ILY MRMINE
Posted May 25, 17 · OP
Page
of 5
NoticeNotices