Point Entity Control
This plugin allows you to spawn a point entity, and then change their "hammer options" before spawning them. To find out what an entity's possible options are, spawn one in hammer, double click it and uncheck Smart Edit.
Commands: (CASE SENSITIVE)
!setent (entity name): Tell the engine what entity you're going to be specifying options for.
!DValue (value name) (Value of that value name): Set the value, either a single integer or a string.
NOT A VECTOR(three numbers(like a color or co-ordinates)) OR A FLOAT!(Decimal numbers)
!DFloat(Value name) (Value): Set the value as a float.
!DVector (Value name) (Vec1) (Vec2) (Vec3): Set a value as a vector. For colors and co ordinates.
!DVectorMe: Set the entity's spawn vector to your position.
!Dispatch: Spawn the entity.(
Requires the kick flag.)
While it takes more code, it allows you to basically edit the options you see when you edit the entity in hammer. Notice these aren't traditional options; you need to disable smartedit to see the values you need to change.