Well, hi all, I'm a total newbie in CLEO coding and I've spent 4 hours on my first piece of code. The point is I've found multiple syntax rules and opcodes all over the internet and I dunno how to write correctly. I want to show off a text draw above an object (vending machine ID 1209) when the player gets close by (radius of 200 meters). I'm looking for the opcode that will allow to identify an object with its ID and convert it to a float ([email protected]) but I'm exhausted and my brain is smoking. Here is the beginning (sorry for the poor quality):
Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
set_visibility_of_closest_object_of_type [email protected] [email protected] [email protected] radius 200.0 model $1209 visibility 1
Thanks for helping!!!!