In radiant you would make it a script_model and give it a targetname kvp
In script you would thread a function from main or something, that would use either movez or moveto functions in it with waits. In the docs you can find these functions and what is needed to make them work.
MoveZ
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveZ(<point>,<time>,[acceleration time],[deceleration time])
[MANDATORY] <point> The z value to move the entity to, as a floating point number [MANDATORY] <time> The time to move the entity in seconds [OPTIONAL] [acceleration time] The time spent accelerating in seconds [OPTIONAL] [deceleration time] The time spent decelerating in seconds CATEGORY: CLIENT/SERVER: Server SUMMARY: Move this entity to the given world z value
MoveTo
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveTo(<point>,<time>,[acceleration time],[deceleration time])
[MANDATORY] <point> The point to move the entity to [MANDATORY] <time> The time to move the entity in seconds [OPTIONAL] [acceleration time] The time spent accelerating [OPTIONAL] [deceleration time] The time spent decelerating CATEGORY: CLIENT/SERVER: Server SUMMARY: Move this entity to the given point. EXAMPLE: dummy MoveTo( dest_org, .5, .05, .05 )
use getent, or getentarray if you have more than one, and then thread on each a function to move and wait in a while loop.
Last Edit: April 12, 2017, 12:22:03 pm by MakeCents
In radiant you would make it a script_model and give it a targetname kvp
In script you would thread a function from main or something, that would use either movez or moveto functions in it with waits. In the docs you can find these functions and what is needed to make them work.
MoveZ
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveZ(<point>,<time>,[acceleration time],[deceleration time])
[MANDATORY] <point> The z value to move the entity to, as a floating point number [MANDATORY] <time> The time to move the entity in seconds [OPTIONAL] [acceleration time] The time spent accelerating in seconds [OPTIONAL] [deceleration time] The time spent decelerating in seconds CATEGORY: CLIENT/SERVER: Server SUMMARY: Move this entity to the given world z value
MoveTo
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveTo(<point>,<time>,[acceleration time],[deceleration time])
[MANDATORY] <point> The point to move the entity to [MANDATORY] <time> The time to move the entity in seconds [OPTIONAL] [acceleration time] The time spent accelerating [OPTIONAL] [deceleration time] The time spent decelerating CATEGORY: CLIENT/SERVER: Server SUMMARY: Move this entity to the given point. EXAMPLE: dummy MoveTo( dest_org, .5, .05, .05 )
use getent, or getentarray if you have more than one, and then thread on each a function to move and wait in a while loop.