Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Skyboxes <- [
  2. "brightday",
  3. "nightsky"
  4. ]
  5.  
  6. function ChangeTo(n)
  7. {
  8. worldspawn <- Entities.FindByClassname (null, "worldspawn");
  9. worldspawn.__KeyValueFromString("skyname",Skyboxes[n]);
  10. }
  11.  
  12. //so, you will need to make:
  13. //OnTrigger, logic_script, RunScriptCode, ChangeTo(0), 0.00 - to make it birthday
  14. //OnTrigger, logic_script, RunScriptCode, ChangeTo(1), 0.00 - to make it nightsky
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement