Spawn BDEngine Model from File (Section) — DisplayEntityUtils

Addon: DisplayEntityUtils · Category: Section · Since: 3.3.0, 3.5.0 (New Syntax), 3.5.1 (Section)

Syntax

deu spawn bde[ngine] model %string% at %location% [[and] store[d] [it |the result] in %-objects%]

Description

Spawn a BDEngine Model, from a file, at a location, with specified options **Entries** `packet` = whether the group should be packet-based. False by default `teleport-duration` = the teleport-duration of display entities in the group. 0 by default `billboard` = the billboard of display entities in the group. FIXED by default `persistent` = the persistence of **all** entities in the group. True by default `visible` = whether the group should be visible. True by default `brightness` = the brightness of display entities in the group. Use `-1 and -1` for default brightness `spawnanimation` = whether the group should play its spawn animation. True by default

If a group is packet-based it's persistence cannot be set within the section and must be set afterwards.

Examples

deu spawn bde model "mymodel" at {_location}
deu spawn bde model "mymodel" at {_location} stored in {_activegroup}

deu spawn bde model "mymodel" at {_location} stored in {_activegroup}:
	packet: false
	teleport-duration: 2
	billboard: VERTICAL
	persistent: true
	visible: true
	brightness: 10 and 5 #Block and Sky, -1 and -1 to reset
	spawnanimation: true


#3.4.3 and earlier
set {_activegroup} to bdengine model "mymodel" spawned at {_location}
set {_activegroup} to bde model "model.bdengine" spawned at {_location}

View source