Jump to content
  • 0

computermancer

Question

Hey everyone,

 

I would like to toss out an idea in to the ether to see if I can get some help.

 

I would like to make a script to help unarmed folks take out other folks with guns.

Here is my general idea:

 

-Player 1 is unarmed and sneaking around

-Player 2 is looking in inventory

-Player one hits first KO_Radius which brings up action to "Attempt KO" in Orange with 25 percent chance of success upon click.

-Player 2 still being OCD

-Player 1 hits next KO_Radis_2 and gets an option to "Attempt KO" in Red with 50 percent chance of success opon click.

-Player 1 holds his cursor on target for 2 seconds andhe now sees a  GREEN "KO" option with 100 precent chance to KO

-then once KO, he can drag him for X seconds until Player 2 wakes up injured.

 

 

I can target players, and bring up action, but I am uncertain of how to proceed with knocking out Player 2.

 

My guess is that I have to have the server do it. I have heard rumors of setUnconscious, but am a supernoob.

 

Any help on this frontier would be greatly appreciated. My dream is to sneak up on someone, have them see me, and we both try to KO each other in our KO_radii. :D

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...