Like that?Code:Effect.server.Run(null, util.TableToArray({"fx/weapons/vm_rocket_launcher/pfx_fire_rocket_smokeout", player.transform.position, UnityEngine.Vector3.get_up(),null,true}))
Using game particles / effects (C#)
Discussion in 'Rust Development' started by LaserHydra, Apr 24, 2015.
-
No...You need to provided the parameters to match the method signature exactly.
Here is more information on the optional params that are being using.
https://msdn.microsoft.com/en-us/library/dd264739.aspx -
What is
strName
posWorld
normWorld
sourceConnection
broadcast
used for?
Im just going to think that the strname = "fx/weapons/vm_rocket_launcher/pfx_fire_rocket_smokeout" -
-
[DOUBLEPOST=1437143419][/DOUBLEPOST]Well what I think, is that posWorld = player.transform.position
sourceConnection = player.connection
broadcast = true
I just have no idea what "normWorld" is
[DOUBLEPOST=1437144127][/DOUBLEPOST]im trying normWorld = Vector3 or Vector3.get_up()