MR F1RE FOX Posted April 16, 2023 Share Posted April 16, 2023 I need to somehow copy Ancient cane's effect if inst.form == "shadow" and not inst:HasTag("INLIMBO") then local x, y, z = inst.Transform:GetWorldPosition() local xoffset = math.random(-10,10)/10 local zoffset = math.random(-10,10)/10 SpawnPrefab("cane_ancient_fx").Transform:SetPosition(x+xoffset, y, z+zoffset) end Link to comment https://forums.kleientertainment.com/forums/topic/147178-how-to-configure-prefab-spawning-time/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now