Auto Spawning Prop Collections
using { /Fortnite.com/Characters }
using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Random }
using { /Verse.org/Simulation }
using { /Verse.org/Colors/NamedColors }
using { /Fortnite.com/UI }
using { /UnrealEngine.com/Temporary/UI }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /Fortnite.com/Game }
<# CREDIT ATTRIBUTION
Please provide credit to Dragon (Youtube @Yo_Its_Dragon)
and Pi Equals Three( Youtube Pi Equals Three) as some elements from his code such as new postion-newscale was used to formulate this snippet.
--- ABOUT THIS DEVICE ----
This device allows you to spawn a creative blueprint prop in a specific location.
--- DEVICES NEEDED ----
Imported Prop
Trigger Device
--- TIP ----
You will need to convert your imported prop into a blueprint prop.
#>
# A Verse-authored creative device that can be placed in a level
spawn_prop_at_specific_location_device := class(creative_device):
@editable
WallProp : creative_prop = creative_prop{}
@editable
WallPropAsset : creative_prop_asset = DefaultCreativePropAsset
@editable
TriggerProp : trigger_device = trigger_device{}
# Set the location coordinates where you want it to spawn here
NewPosition : vector3 = vector3 { X := 2342.0, Y := -7634.0, Z := 1130.0}
NewRotation : rotation = IdentityRotation()
#Set the scale of your prop here
NewScale : vector3 = vector3 {X := 2.26, Y := 2.0, Z := 2.0}
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.