Scripts / Respawning Enemies

Author
Message
fumar
User Offline
Joined: 3rd Sep 2019
Location:
Posted: 10th Sep 2019 23:19 Edited at: 14th Sep 2019 19:00
Today I watched another video by GG:

It's an older tutorial and so it didn't work, because it seems there isn't a GetEntityLUAHealth() function anymore.
But I wanted to give it a try. So I modified the script.
With my script I can determine how often an enemy can respawn.
I hope I did it in the right way. LUA is new to me, but it is similar to Javascript. And I know that. A little bit.

Attachments

Login to view attachments
PM
Pink Panther
9
Years of Service
User Offline
Joined: 1st Feb 2010
Location:
Posted: 12th Sep 2019 17:34
Thanks fumar! This works great!
PM
fumar
User Offline
Joined: 3rd Sep 2019
Location:
Posted: 14th Sep 2019 13:46
You're welcome, @Pink Panther...
PM
osiem80
User Offline
Joined: 24th Jan 2019
Location: Poland
Posted: 14th Sep 2019 18:22 Edited at: 14th Sep 2019 18:22
@fumar this is how a YT video should be posted

PM
fumar
User Offline
Joined: 3rd Sep 2019
Location:
Posted: 14th Sep 2019 18:59
Aaaah, okay. Missunderstood it again...
But now it's very clear. Thanks a lot, @osiem80...
PM
osiem80
User Offline
Joined: 24th Jan 2019
Location: Poland
Posted: 14th Sep 2019 19:11
U r welcome
PM

Login to post a reply

Server time is: 2019-11-21 22:13:30
Your offset time is: 2019-11-21 22:13:30