Product Chat (Early Access) / [SOLVED] How to DISABLE TRIGGER ZONE work after 1 actuation?

Author
Message
d4njk0m
2
Years of Service
User Offline
Joined: 26th Mar 2022
Location:
Posted: 30th Mar 2022 13:29
I have TRIGGER ZONE (imageinzone) and if i step it activates. I want to disable TRIGGER zone after 1 time i step on it. how to do it?

The author of this post has marked a post as an answer.

Go to answer
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 30th Mar 2022 15:26 Edited at: 30th Mar 2022 15:27
This post has been marked by the post author as the answer.
@d4njk0m
Backup your C:\Program Files\GameGuruMAX\Max\Files\scriptbank\markers\imageinzone.lua file.
And replace it with this one attached.
Note: most likely that file is being overwritten, in the next GGMax update.

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

Attachments

Login to view attachments
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 30th Mar 2022 16:46
@ d4njk0m
As synchro pointed out you can rename the script i.e. as "imagezone2.lua" and place it in your documents/GameguruApp>Scriptbank folder, so, you avoid your script being overwritten when updated.
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 05:37:40
Your offset time is: 2024-12-22 05:37:40