#CV2 damage system (Read Description)
22 messages · Page 1 of 1 (latest)
When the player enters the zone, you’ll want to send a custom event to All using Event Definition and Event Sender. Configure the Event Definition to have a Player port, and wire the player who entered the trigger zone to that.
Now, with an Event Receiver, use If Player Is Local, with the Player being the Player on the event receiver. Wire Is Local to the players health variable, and set it to the following:
Health - (Damage Amount)
Wait
Are the trigger events synced?
If they are, you can just skip to this part, “If Player Is Local, with the Player being the Player on the event receiver. Wire Is Local to the players health variable, and set it to the following:
Health - (Damage Amount)” though I believe trigger volumes already have IPIL
Where do I get a health variable @quaint wolf
Do I have to make one?
Spawn an int variable and rename it to Health
Thx
Wait, how do I add the damage
Wire the output of the health variable to the first port of Subtract, and the second port will be the damage you want to do. Then just wire the output of Subtract into the input of the health variable, and send an execution when you want to deal damage
I love your help but I need to know about the CV2 starting system @quaint wolf
?
I was going to make a system where when the player joins, it starts the game but with CV2
On player join, start game? Unless you’ve started using legacy combat all of a sudden this is really up to you how you want to do this
Yes, on player join, start the game
Because idk the circuits to use, the only one I know to use is the event receiver (when player joins event)
It’s been a while but I can’t make the damage actually go through and idk if I was supposed to do something with a player definition board
@quaint wolf
Like I said, I would suggest making a thread specifically abt making cv2 pvp as it will get more and better help than I can give
Check out cryptic creators cv2 PvP template on the store for free
Yeah u pinged him showing that