C#C
C#3y ago
5 replies
KRY_

❔ (OXIDE FOR RUST) void issues etc..

Currently trying to merge refrence code from making a bubble and such into my KOTH event plugin im developing but i keep getting issues, can someone help me with integrating this void?

I need to post the whole public class as this public void of creating a bubble refrences items inside it, i only need the
public void CreateBubble(Vector3 position, float initialRadius, string grid, int time)


im attempting to integrate it into this section here
        private void SpawnCrate()
        {
            var crate = GameManager.server.CreateEntity(CratePrefab, cratePosition);
            if (crate != null)
            {
                crate.Spawn();
                crateSpawned = true;
                Puts($"Koth started at position: {cratePosition}");
            }
        }


basically when running the private void
SpawnCrate()
it should create the bubble that is listed in the following txt file at the section of which creates the bubble (
CreateBubble
) when the crate is spawned
Was this page helpful?