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 (4@) but I'm exhausted and my brain is smoking. Here is the beginning (sorry for the poor quality):
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
set_visibility_of_closest_object_of_type 1@ 2@ 3@ radius 200.0 model $1209 visibility 1
Thanks for helping!!!!