#how to not damage urself

1 messages · Page 1 of 1 (latest)

tropic bear
#

Bro what

#

My message got deleted

#

I didn’t even swear

#

Anyways it was how to not damage urself with projectile launchers and weapons if ur holding them

tropic bear
#

Guys it’s helpy helpy time?

spark sonnet
tropic bear
#

Wdym

#

Can u send a pic of what u mean?

#

Im pretty new to cv2

spark sonnet
tropic bear
#

No

#

I use player definition board

#

With event projectile hit player and collision data

#

And a custom hp system

#

It all works

spark sonnet
tropic bear
#

Owh

spark sonnet
#

get an if chip and an equals chip. Put the player being hit and the player firing into an equals chip; if they’re the same do nothing, if not take the health away

#

actually

#

use an if player is local chip

#

Actually, no, it depends on your hp system

#

just have something checking if the player shooting is the player being hit

tropic bear
#

The guy from who I got the system from has a victim and attacker role

tropic bear
#

Where do I put it?

#

Do I even put it in PDB?

tropic bear
#

Help pls

tropic bear
#

Skibidi people

tropic bear
#

People?

upper nacelle
#

😪

dusty estuary
vague eagle
#

Get an If Chip and Equals chip, hook the firing player and the hit player to the equals chip, and hook that to the Ifs condition port. Connect Projectile Hit Player to the If chip, then hook else to the damage event sender.

tropic bear
#

@vague eagle I love you

vague eagle
#

Yw

tropic bear
#

@vague eagle Like this?

#

It don’t work : (

#

Fixed it

vague eagle
tropic bear
#

@vague eagle Do you know how to add currency to the person that killed another person

#

I know lots of people asked but I don’t understand any of that

tropic bear
#

Cv2

#

The person from who I got my system from has this for showing subtitle when killing someone and I thought it would be easy to add currency to the attacker but when I kill my alt it says nothing and on my alt it says killed by alt name

vague eagle
#

Do you want the amount of currency to be randomized?

#

Oh wait

#

Hmmm

#

I dont really know a way to do this on CV2

#

Okay so I assume you use that damage event

#

Check if the players health is equal to 0

#

And if it is

#

Add currency to the attacker

#

And a subtitle

tropic bear
vague eagle
#

So on the event receiver damage, send it to an if chip, then get an equals chip and hook up the output of the health on the 1st port and on the 2nd port put 0. If it is 0 then respawn the player and award the attacker currency

tropic bear
#

Like this?