You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to source 1 squirrel and source 2 lua vscript, running script_reload_code scripts/myscript.vjs would execute the script without having to set up a point_script ent via ent_create.
This is very useful for server hosting on official maps, playing with friends in private lobbies or making practice scripts.
creating a point_script entity via ent_create that points to our script works but is not good enough since the entity is not persistent and will be gone on new round
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Similar to source 1 squirrel and source 2 lua vscript, running
script_reload_code scripts/myscript.vjswould execute the script without having to set up a point_script ent viaent_create.This is very useful for server hosting on official maps, playing with friends in private lobbies or making practice scripts.
creating a point_script entity via
ent_createthat points to our script works but is not good enough since the entity is not persistent and will be gone on new roundBeta Was this translation helpful? Give feedback.
All reactions