#Is there a skript for this/or can someone help me make one?

1 messages · Page 1 of 1 (latest)

frank flare
#

"Say I do /logentity while looking at a mob, in the log files it will show if someone has killed it and the players name."

#

plus i know there is something that can get the death cause, just dont know how to implement it into a skript

sudden ferry
#

How are you gonna look at an entity

#

If it got killed

frank flare
#

nono im talking beforehand, like I just want to log entities to see their death causes

#

Like say I have a pet squid (idk) if I run that command on it and its killed, it will show in a entitylog.txt file or something

sudden ferry
#

Oh

#

Ye

#

Thats easy

#

Have a variable (say {log::*}) and add to it all the enities you want to keep track of. Then use the death event and check if the variable contains the victim. If it does then log it however you want

frank flare
#

question, could you make it for me? i kinda suck at these kinda skript parts

main jacinth
#

Wait

sudden ferry
#

No

main jacinth
#

Are you trying to make a Animal Kill Counter?

frank flare
#

alright

sudden ferry
main jacinth
#

Elapu

frank flare
#

oh ty

#

nope

sudden ferry
#

This channel is for getting help making stuff

main jacinth
#

Can you explain what u need?

#

I don't understand

frank flare
#

im trying to make a entity death logger

main jacinth
#

Do you have pets made?

frank flare
#

I just want to track how choosen entities die

main jacinth
#

And did you make it so if somone tames the animal it adds a variable for example {tamed::%player's uuid%}

frank flare
#

well i dont want it to be just tamed animals, i want hostiles and more

#

get me?

main jacinth
#

no.

#

You make no since

frank flare
#

ah sorry

main jacinth
#

So you want a skript to log all entity's death?

frank flare
#

Exactly, but I want only chosen ones

main jacinth
#

Huh?

frank flare
#

How should i put this

main jacinth
#

So you want a gui for people to choose which entity it logs?

frank flare
#

I think

main jacinth
#

Also, How would this be usefull?

sudden ferry
#

He asked for a command

#

I dont see why you are confused by this

main jacinth
#

He does not make since

frank flare
#

Sorry if im not explaining right

sudden ferry
#

Makes sense to me

main jacinth
#

Phill explain it to me

#

you seem to know what it means

sudden ferry
#

Command to select entities

#

When a selected entity dies

#

Log it

frank flare
#

yep

frank flare
#

Thats really helpful, I just dont know how to make it into a skript. Should i ask in the requests channel?

main jacinth
#
  trigger: #Trigger all commands need
    #code```
#

So like that?

sudden ferry
#

Lol

#

The comments

main jacinth
#

Yea fr

#

W

frank flare
#

I think?

main jacinth
#

Dude Elapu dont ask for help if u dont even know what u need.

frank flare
#

I mean phill seemed to understand what i want

#

i just cant understand the code

main jacinth
#

Ok

#

So do you want a command for a player to do

frank flare
#

Yes please

main jacinth
#

and if they do /logsentity it will show them the logged deaths of entitys

sudden ferry
main jacinth
main jacinth
#

Also elapu why would this be useful may i ask?

frank flare
#

lets just end this, im going to submit it to the offers channel and it should be good from there

main jacinth
#

lright

#

Alright*