#HOW TO USE GLOBAL ANF PLAYER VARIABLES
1 messages · Page 1 of 1 (latest)
Well they can be used for a lot of things,what are you trying to do?
Save,do how mario kills wnemys by jumping on there heads and more
I want to do like how mario kills the enemies
In 3x
Bc my ganes chracters are basically cooked with out this
Jump on the head and give damage?
This don't require player variables
But I'll send the script for you
Ok
Create a component and add a coordinate attribute
Then add two trigger's
One for when object is created and one for when player starts contact
Add a Collison detection too
On the top of the head of the character as a child objec
Add this script on the when object is created trigger
And this one on the when player starts contact
Result