Scripts / [SOLVED] Taurus Key Spawn

Author
Message
Mr.CoffeeCup
3
Years of Service
User Offline
Joined: 2nd Feb 2021
Location:
Posted: 2nd Feb 2021 12:05
Hey, i'd like to make the Taurus enemy in the game Spawn a Key when killed, but i really don't have a clue as to how to do it since i'm a complete lua noob, i'd really appreciate help! thanks

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:
Posted: 2nd Feb 2021 13:15
This post has been marked by the post author as the answer.
put a key on the map, set to spawn at start = no
add ActivateIfUsed(e) inside the exit(e) function of his script
put the name of the key in the 'ifused' fieild in his properties (must match the editor properties)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-12-22 02:23:53
Your offset time is: 2024-12-22 02:23:53