Scripts / modified "killcount_door" script doesn't work

Author
Message
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 8th Nov 2016 23:28
hi there! i have modified a script by smallg.
this script means: you have to kill 4 people. when you killed the 4 people you get a new text and a door opens automatically.

this all works great but one problem:
the door animation doesn't stop when i killed the last person. why?

i can change this when i change the killcount = 4 to killcount=0 in the last line but then the final text doesn't appear and the killcount is reset to zero.

http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 14th Nov 2016 12:50
this script works perfectly the only ugly thing is that the door opens and closes and opens and closes, actually it is open but the door opening animation seems to be a infinite loop. does anyone have an idea?
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 14th Nov 2016 14:02
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 15th Nov 2016 08:44
SetActivated(e,3)

this was the missing link
thank you very much, that was a great help!
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti

Login to post a reply

Server time is: 2024-04-30 16:54:32
Your offset time is: 2024-04-30 16:54:32