Forum Discussion
hmmm...just out of curiosity what makes you say you cant get/set variables as bool?
Also looking at the logic, your trying to check the players distance from ground correct?
I may be wrong but i THINK your currently your checking to see if the distance between the players position and 0,-1,0 is bigger than 50, since the downvector is a directional vector not a positional one, like i think it may as well be 0,0,0. If that's the case it's probably always going to be true.
You may be better off checking if the getycomponent of your playerstate/position vector is > 50
Wow everything is working now.
Look at the code now.
I just have one question. I get this in the error logs.
- Matty101yttam4 years agoSeasoned Hotshot
error seems to be trying to do something while the player isn't alive/in deploy screen, can only happen with the ongoing rules so i'd guess that if you also added whether the playerstatebool-isalive to the condition of the ongoing rules it would stop anything happening while your dead/in deploy screen.
- kiki01hun4 years agoSeasoned Rookie
It is there, that's why i don't understand. There is no bool for isdeployed as far as i know.
- Matty101yttam4 years agoSeasoned Hotshot
it's got me beat, the only other way i can think of is if you applied something to another player rather than yourself but i cant see anything like that in there either