Here are the blox I used for my game. I’m calling them tweaks cause I basically used the same bloxs we know and added a different variety to them. That and I’m still getting used to scripting ^^
Time Scale - Scaling time using float number. This changes the whole game’s time.and anything that uses Time.time. Using Ugui or onGui is fine.
Find Targetable Character’s Main Cam - Instead of raycasting thru the player’s forward. It’s using the Character’s Cam forward. Basically if you wanted to target things on what you see and not behind the camera. I use it for the Kingdom Hearts or Zelda style so it’s always auto-targeting something in an onupdate event. Also it doesn’t target the player cause you’ll always be looking at the player in third person.
Use Bag on specific slot - It’s similar to “Use Item in Bag” cept it’s for people who has multiple button that has same item stacks. This is used to prevent on use the first slot button if your selecting a similar item on another button.
Another purpose is the use of a loop if you’re making your own Ugui to determine which slot you want to use. No matter how many similar stacked items in other slots, if that Item in that slot runs out, it’ll not use the others. USE only the variable from the loop counter or an int number, not the (get item) blox.
example below. (this uses all items at once)
If slot Contains - Just a bool True and false if there are items in that specific slot.
Get Item Max Stack Size - Int of what the max slot size of that item is given. If it’s written 0, it’ll be shown as 1 because there is an item currently.
artieBlox.zip (6.2 KB) (2/04/15)