• Hey! Register here to create your account, engage with the community, and talk about what is new!

Removing self damage

Fghj240

Active member
Joined
Jun 5, 2021
Messages
53
Reaction score
8
I'm trying to remove self damage because I don't want players to be able to "rocket jump". I setup a block of code that says on projectile damage player, if the shooter has name %victim cancel event.

This doesn't work. Why?
sorry for making so many help threads.
 

Maskcraft_

Member
Overlord
Joined
Oct 24, 2020
Messages
30
Reaction score
6
Hmm You could try to switch shooter with damager (unless you talk about bows).
Also you can ask questions in game with /support question [your question]
 

Fghj240

Active member
Joined
Jun 5, 2021
Messages
53
Reaction score
8
Hmm You could try to switch shooter with damager (unless you talk about bows).
Also you can ask questions in game with /support question [your question]
Does damager work with projectile events?

Also /support question is dead. I've tried several times, and have stayed in the queue with nobody answering. Nobody else was there so I was at #1 but there were no staff helping anyone because I stayed #1 for an unreasonably long time. Once I was #3 and #2 msged me and said the line hadn't moved for 30m and that there were probably no staff on the other end.
 

EvilsSouls

Forum adept
Overlord
Joined
Apr 16, 2021
Messages
208
Reaction score
18
Does damager work with projectile events?

Also /support question is dead. I've tried several times, and have stayed in the queue with nobody answering. Nobody else was there so I was at #1 but there were no staff helping anyone because I stayed #1 for an unreasonably long time. Once I was #3 and #2 msged me and said the line hadn't moved for 30m and that there were probably no staff on the other end.
Yes %damager does work, but %shooter for me also works, i used this
(Click the "this" to see my template)
 

EvilsSouls

Forum adept
Overlord
Joined
Apr 16, 2021
Messages
208
Reaction score
18
Wait what, i see why you said uhhhhhhh. NOW it doesn't work anymore?????????? I tested it when i send it, and it worked. Idk why it now doesn't work
 

EvilsSouls

Forum adept
Overlord
Joined
Apr 16, 2021
Messages
208
Reaction score
18
Anyways if that doesn't work i can just describe it:
  1. Player Event: Proj dam Player
  2. If variable: Text matches
    1. Chest Parameters:
      1. text: %victim
      2. text: %damager
  3. Game action: Cancel Event
 

Fghj240

Active member
Joined
Jun 5, 2021
Messages
53
Reaction score
8
Anyways if that doesn't work i can just describe it:
  1. Player Event: Proj dam Player
  2. If variable: Text matches
    1. Chest Parameters:
      1. text: %victim
      2. text: %damager
  3. Game action: Cancel Event
So instead of using if name of damager is %victim I should compare the texts. Wasn’t sure about %damager working with projectiles fired from you but I’ll try it out.
 

Fghj240

Active member
Joined
Jun 5, 2021
Messages
53
Reaction score
8
Anyways if that doesn't work i can just describe it:
  1. Player Event: Proj dam Player
  2. If variable: Text matches
    1. Chest Parameters:
      1. text: %victim
      2. text: %damager
  3. Game action: Cancel Event
I tried that and... nothing happened. Inside the text matches are 2 books, one named %damager and one named %victim. I didn't change any tags.2021-06-16_23.42.27.png
 
Top Bottom