C
C#17mo ago
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)
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}");
}
}
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()
SpawnCrate()
it should create the bubble that is listed in the following txt file at the section of which creates the bubble (
CreateBubble
CreateBubble
) when the crate is spawned
3 Replies
JakenVeina
JakenVeina17mo ago
what's a bubble? what's KOTH?
Anchy
Anchy17mo ago
you havent actually specified what the issue is i dont know what a void issue is
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server