Author
Message
deadlands
5
Years of Service
User Offline
Joined: 23rd Mar 2019
Location:
Posted: 10th Apr 2022 21:11
Hey Guys

I noticed that there is a bug and wanted to know your opinion on it

If, as in the demo game Disruption, you set a switch in connection with a brick that is then collected, you can collect the item several times by pressing the switch several times and end the game with it

Is there a way to prevent that? Since it is also possible in the demo game, I assume it is not possible without further ado

thanks for all replies
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 12th Apr 2022 17:19
Quote: "as in the demo game Disruption, you set a switch in connection with a brick that is then collected"

Where that brick is? some shot?
Usually, the object (the brick) is attached to a script, like the key that has key.lua that script uses to run 2 lua commands, as follows:
Quote: "Collected(e)
Destroy(e)"


The first one "collects" the object, and the second one destroys the object, so, no more bricks there, at least you have a ton of bricks with a script attached.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM

Login to post a reply

Server time is: 2024-12-22 04:57:04
Your offset time is: 2024-12-22 04:57:04