Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Checking if an entity actually exists?

$
0
0
This is a little cheaty, but I'm curious if there's a solution to it anyway.

On my planetary base, I've built a searchlight on two rotors and scripted it to track me as I move around the base to provide better lighting for those long, dark nights. A sensor is set to detect players, and a programmable block (in a TriggerNow loop) calculates the correct angle for the spotlight to aim at the target and controls the rotor velocities. It works well and was a fun project.

While setting up the...

Checking if an entity actually exists?

Viewing all articles
Browse latest Browse all 903

Trending Articles