Scripts / goindoors not working

Author
Message
xenoblackinc
9
Years of Service
User Offline
Joined: 11th Jul 2015
Location:
Posted: 12th Sep 2015 18:51
I've made a custom terrain and the go in doors lua script is not working. even when I attach it to the terrain itselt that i've made. i dont know what i'm doing wrong but i want to showcase some amazong work i'm doing but i'm stuck lol
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 12th Sep 2015 21:00
it's a zone script, place a trigger zone under the start marker with goindoors.lua and it'll switch the terrain off as soon as the level starts
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Old Larry
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 26th Apr 2012
Location: Bucharest, Romania
Posted: 6th Dec 2015 15:16
Try some of good scripts by @smallg at: https://forum.game-guru.com/thread/213868
Remember:
"goindoors.lua" it's a option to hide terrain & water, or just one of this.
Examples:

2- for "nowater.lua" use the same lua script and just change the "noterrain.lua" (the same "noterrain_init" & "noterrain_main" too)
in "nowater.lua" and "HideTerrain" with "HideWater"
3- for "goindoor" use the both of those (noterrain & nowater)
As example:

BTW: to reverse on "Show" (the terrain or water) just change the "Hide" with "Show" in all of those examples
Smile today, tomorrow could be worse

http://bestradiolarry.ro/fps/

"The best forum, game software, operating system or web platform, it's that software which can give you most of the features and speed, not just amazing graphics."

Login to post a reply

Server time is: 2025-01-01 05:43:29
Your offset time is: 2025-01-01 05:43:29