Scripts / want help with a few scripts

Author
Message
Sicbot69
6
Years of Service
User Offline
Joined: 28th Apr 2017
Location:
Posted: 19th Jan 2018 20:45
Hi all. im not new to game guru but im not a coder.
what im trying to do is to make a loot script with no luck.
say that you walk up to a drawer and push e and a item spawns ontop of the drawer or something like that.

another script im looking for is when you hit an object it should dissapear and a new object apears in its location

if any one knows how to do this i would be super greatfull
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 19th Jan 2018 21:32
You can 'Hide' an entity until you want it to appear and then 'Show' it when you want it to appear so both your examples are easy to accomplish.

Been there, done that, got all the T-Shirts!
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 19th Jan 2018 22:16 Edited at: 19th Jan 2018 22:16
Watch this broadcast, it talks you through making a survival script, one of the components to it is the soldiers drop food for you, you should be able to use that part of it for your own script fairly easily.


Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.

Login to post a reply

Server time is: 2024-04-26 04:18:17
Your offset time is: 2024-04-26 04:18:17