Author Topic:  Adding a new Command (Code/Script)  (Read 147 times)

0 Members and 1 Guest are viewing this topic.

Zone

  • Elite Member
  • *****
  • Posts: 514
  • Total Miner Youtuber
  • Awards 2 years on site 1 year on site
    • View Profile
    • Youtube Channel
    • Awards
  • Xbox: IGs x Zone
Adding a new Command (Code/Script)
« on: January 04, 2018, 01:01:57 PM »
Just though of a new Command, This is kinda hard to say so I'm going to make a Demo of it.


If Object.Touched then
-- Code here
end

or

If Pickaxe.Touched then
-- Code here
end

or

if Pickaxe.Touched == Object then
-- Code here
end

or You could use the ID of the Item or Object, This could also work with NPC's as they move around now, So you could make a script that checks for a NPC that touches a Object or Block or something and it will run the Script. The things you could do with a Touched Command is endless.

Pretty much there should be a Touched Code so when a Object ( Block or Weapon or Item etc) Touches a player or a Block or something it will start up a command or code (Whatever you call it), There's a lot that can come from this and could be very helpful for games.
Spoiler for Hidden Content:
Your getting close
Spoiler for Hidden Content:
So close
Spoiler for Hidden Content:
Come on you can do it!
Spoiler for Hidden Content:
Can you feel the burn??
Spoiler for Hidden Content:
Your on fire!
Spoiler for Hidden Content:
Cold
Spoiler for Hidden Content:
Hot
Spoiler for Hidden Content:
HOT!!
Spoiler for Hidden Content:
Hi :D