Code:
Problem description:
Say I have a icon like this, https://gyazo.com/4722c6ee366393dcc97be32d514fef96, and I want it to go a step/pixel at a time to make it seem like moving, because walk makes it go before it finishes shooting down. I want it to seem like it's shooting down a new bolt every tile, how would I accomplish this?
I tried this, it only created the first obj and from there forth none of the others.
Lightning_Road() |
In response to Edit Nero
|
|
Okay I may be wrong but I would make it more something like this
var/obj/lightning_road/a=new/obj/lightning_road |
In response to Dragonpearl123
|
|
You're abusing the : operator, and you got the var names wrong because in one spot they're lowercase and in another they're uppercase.
The set of if() statements for each direction is kind of awful too, but the OP has the same issue. |
In response to Lummox JR
|
|
ehhem it was a quick sketch.
|
In response to Dragonpearl123
|
|
Thanks, this helped.
|
If you need more help after that post in here again with some code of what you have tried and maybe we can help further.