I'm attempting to spawn particles with the Particle Effects Card from Computronics. In the lua interpreter, I have tried a number of different approaches to inputting the arguments, but I always get the same error.
=component.particle.spawn
function(name:string, xCoord:number, yCoord:number, zCoord:number [, defaultVelo:number]):boolean;function(name:string, xCoord:number, yCoord:number, zCoord:number [, xVelo:number, yVelo:number, zVelo:number ]):boolean;Spawns a particle effect at the specified relative coordinates optionally with the specified velocity
Here's the component and command.
component.particle.spawn(minecraft:barrier xCoord:3)
stdin:1:function arguments expected near 'xCoord'
component.particle.spawn(minecraft:barrier,1,1,1)
stdin:1:function arguments expected near ,
And here's what happens when I attempt to actually use the command. Anything coming after the particle identifier gives me that 'function arguments expected near' error. Is this a problem on my end? Can the interpreter not be used for this? Or is there a glitch with the card itself?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I'm attempting to spawn particles with the Particle Effects Card from Computronics. In the lua interpreter, I have tried a number of different approaches to inputting the arguments, but I always get the same error.
Here's the component and command.
And here's what happens when I attempt to actually use the command. Anything coming after the particle identifier gives me that 'function arguments expected near' error. Is this a problem on my end? Can the interpreter not be used for this? Or is there a glitch with the card itself?
Link to post
Share on other sites