Team Wilson Docs
  • PPG 3D
    • API
      • Main3D Function
      • Register
      • Action Events
      • Modify Property
      • Run Method
      • Add 3D Component
      • New Voxel Item
      • Categories
    • Voxels
      • Creating Your Own Voxel Model
      • Models
    • Snippets
      • Lean Monster Addon
    • Resources
  • RageBox
  • Character Creator
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. PPG 3D
  2. API

Register

Registering isn't very similar to registering in People Playground. The Register Method takes 4 parameters.

  1. Original Spawnable Name

  2. New Spawnable Name

  3. Category

  4. Action - See Action Events

Example:

GameObject.Find("Mod3DAPI").SendMessage("Register", new object[]
{
    "Human", //Original Spawnable name
    "Lean Monster", //New Spawnable name
    "Liveables", //Category
    act //Action variable
}, SendMessageOptions.DontRequireReceiver);
PreviousMain3D FunctionNextAction Events

Last updated 1 year ago

Was this helpful?