Yes, give it a try. The only thing that will remain the same is what you change it to. So if you for example type:
Code:
@name Holo Example
@inputs
@outputs
@persist I
@trigger
interval(10)
if(first()) {
holoCreate(1)
holoModel(1,"pyramid")
holoParent(1,owner()) # Owner is the parent
}
holoPos(1,owner():pos()+vec(0,0,100)) # BUT, I want the Z value to remain 100+ whatever the owners position is. Therefore the Z value will be repositioned, while the X and Y values will still act #like they're parented or "welded" to me.
if(I < 180) {I++}
if(I == 180) {I = -180}
holoAng(1,ang(0,I,0)) But here's another example, except this time it's parented to a prop, while the positioning is on me.
Code:
@name Holo Example
@inputs
@outputs
@persist I
@trigger
interval(10)
if(first()) {
holoCreate(1)
holoModel(1,"pyramid")
holoParent(1,findByModel("models/props_borealis/bluebarrel001.mdl"))#Parented to a prop
}
holoPos(1,owner():pos()+vec(0,0,100)) #But I'm telling it to be positioned over me. So even though its parent is the prop, It will still hover over me.
if(I < 180) {I++}
if(I == 180) {I = -180}
holoAng(1,ang(0,I,0)) Hope that made a little sense. I recommend keeping it parented to whatever you want it to follow, for the sake of clean movement. But.. I am a bit of a wire noob so if the other guys see mistakes in what I'm saying or have a better way then I prefer you correct me please.
A cookie for your troubles.
Bookmarks