Source SDK

Source SDK

fr33m4n119 Mar 9, 2019 @ 11:14am
func_movelinear problem
hi guys,

i don't know why but my func_movelinear don't want to spawn at the position i want
in fact whatever i put for "Start Position" (like 5 or -3), the func_movelinear is still at 0 position

the entity is working when i call it with a func_button
but for the spawn position, actually it's a mystery !

thx
< >
Showing 1-5 of 5 comments
Moltard Mar 10, 2019 @ 1:06am 
Isnt StartPosition a value between 0 and 1 ?

1 being the end. So 0.5 would be half way
Matt Mar 10, 2019 @ 5:29am 
Originally posted by Moltard:
Isnt StartPosition a value between 0 and 1 ?

1 being the end. So 0.5 would be half way

Yes, if the values you have entered are distances in units, then that's the problem.
Snoopy Mar 10, 2019 @ 5:53am 
Originally posted by M4tt:
Originally posted by Moltard:
Isnt StartPosition a value between 0 and 1 ?

1 being the end. So 0.5 would be half way

Yes, if the values you have entered are distances in units, then that's the problem.

The giveaway is the fact that the full range is '0 to 1', so anywhere between has to be a fraction...

|Start| 0__.1__.2__.3__.4__.5__.6__.7__.8__.9__1 |End|
Last edited by Snoopy; Mar 10, 2019 @ 5:54am
fr33m4n119 Mar 10, 2019 @ 11:45am 
Originally posted by Snoopy:
|Start| 0__.1__.2__.3__.4__.5__.6__.7__.8__.9__1 |End|

i'm sorry, i don't understand how it works
actually, nothing is working.
whatever i specified for options to my func_movelinear (Move Distance, Move Direction and Start Position (like 0.9 for example), the entity is always at the same place
Snoopy Mar 10, 2019 @ 5:03pm 
Are you using a template to spawn it? If so it's spawn position is relative to the template position and you will need to move it to it's start position after spawning it. Not sure why else you would be having issues.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Mar 9, 2019 @ 11:14am
Posts: 5