UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Different wall-buy

broken avatar :(
Created 8 years ago
by MisterDeadeye
0 Members and 1 Guest are viewing this topic.
2,714 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 21 September 2016
Last active: 8 years ago
Posts
7
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Signature
Not changing this until Dark Cloud gets another installment
×
MisterDeadeye's Groups
MisterDeadeye's Contact & Social LinksdeadeyegfxDeadeyeGFX
What's up, guys? So I want to add an RK5 model, place it on a table, and I want to script it so that it can be interacted with(and bought) much like a wall-buy. If it's possible to make the gun disappear afterward, without too much trouble, that's the end goal, but if not, that's fine too.

Can anyone help me out with that, or point me in the direction so that I can read how to do so myself?
Marked as best answer by treminaor 8 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 3 years ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
Here is a tutorial by JBird that shows how to make a simple purchase loop with a trigger.
Just use this and put a RK5 model on the table with a trigger and there you go.
Then just give the player an RK5.

This would need to be done differently though if you want it to do ammo afterwords.

As for making it disappear, you could move the RK5 model out of the map, However everything i've tried to move a model in script hasn't worked so far.

Link to Video
Last Edit: October 01, 2016, 10:50:37 pm by reckfullies
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 21 September 2016
Last active: 8 years ago
Posts
7
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
MisterDeadeye's Groups
MisterDeadeye's Contact & Social LinksdeadeyegfxDeadeyeGFX
Here is a tutorial by JBird that shows how to make a simple purchase loop with a trigger.
Just use this and put a RK5 model on the table with a trigger and there you go.
Then just give the player an RK5.

This would need to be done differently though if you want it to do ammo afterwords.

As for making it disappear, you could move the RK5 model out of the map, However everything i've tried to move a model in script hasn't worked so far.

Link to Video

Awesome, thanks for the concise reply! I must have subscribed to him after he posted this. I should really go back and watch all of his mod tools videos.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 19 June 2016
Last active: 6 years ago
Posts
9
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
I.e.
×
avidpenguin's Groups
avidpenguin's Contact & Social Links
Here is a tutorial by JBird that shows how to make a simple purchase loop with a trigger.
Just use this and put a RK5 model on the table with a trigger and there you go.
Then just give the player an RK5.

This would need to be done differently though if you want it to do ammo afterwords.

As for making it disappear, you could move the RK5 model out of the map, However everything i've tried to move a model in script hasn't worked so far.

Link to Video

Couldn't you just use getEnt for the model then call Delete() ? That works for me in my easter egg hunt part...

 
Loading ...