Menu
Home
About
About GameGuru MAX
Demo Games
Help
Features
Education
News
Contact
Products
GameGuru MAX
GameGuru MAX DLCs
GameGuru Classic
Forums
Login
Forum Home
Search
Scripts
/ [SOLVED] Help with the creation of the script
Author
Message
0Timon0
7
Years of Service
User Offline
Joined:
22nd Aug 2017
Location:
Profile
Posted:
6th Jul 2019 11:08
Link
Guys,
help with writing a script for spawning other triggers with one trigger.
If more, then when a player enters the area of one trigger - there are other triggers.
The author of this post has marked a post as an answer.
Go to answer
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined:
8th Dec 2005
Location:
Profile
Posted:
6th Jul 2019 12:24
Link
you can't spawn zones but you can add a variable to toggle when the code should be run or not
i.e.
if zone1_is_active == 1 then
--do zone code here
end
in the script of the zone you wanted to "spawn" the above zone you would say
zone1_is_active = 1
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
PM
Email
0Timon0
7
Years of Service
User Offline
Joined:
22nd Aug 2017
Location:
Profile
Posted:
6th Jul 2019 14:53
Link
This post has been marked by the post author as the answer.
Thank! Everything worked out!
The first script is used for the trigger, which should give birth to another.
The second script for the zone that should appear.
Attachments
Login to view attachments
PM
Back to top
Login to post a reply
Server time is:
2024-12-22 14:07:20
Your offset time is:
2024-12-22 14:07:20