DJJASPER21

Rules for GoT Scripting

Dec 22nd, 2019
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. Hello and welcome to the community.
  2. We use a few basic rules to facilitate scripting.
  3.  
  4. 1. Use the "Mod_" Syntax in front of every object, item, script, etc you make !
  5. EX: Mod_PlayerJoinQuest
  6.  
  7. 2. Use capital letters
  8. EX: Mod_WhiteWalkerTestScript and NOT like mod_whitewalkertestscript
  9.  
  10. 3. When you code please use spaces and use the TAB button
  11. EX: Event OnActivate(ObjectReference akActionRef)
  12. Debug.Trace("Activated by " + akActionRef)
  13. EndEvent
  14.  
  15. AND NOT
  16.  
  17. Event OnActivate(ObjectReference akActionRef)
  18. Debug.Trace("Activated by " + akActionRef)
  19. EndEvent
  20.  
  21. 4. Use normal object, script, etc names
  22. EX: Mod_PlayerTrigger01 or Mod_CurePotion
  23. NOT: Mod_Trigger01 or Mod_Potion01 or please not Mod_ThisisatriggerXD
  24.  
  25. 5. Use numbers if you have multiple items
  26. EX: Mod_Curepotion01, Mod_CurePotion02
  27.  
  28. 6. If you make a quest please use the staging system correctly
  29. EX: 10
  30. 15
  31. 20
  32. 25
  33. 30
  34. NOT:
  35. 10
  36. 11
  37. 12
  38. 13
  39. 14
  40.  
  41. 7. Before we are going to implement your project we're going to check it first, if you have questions please ask them in the Scripting section of our Discord with a mention of @DJJASPER21#2030
  42.  
  43. Thanks for reading, here is a cookie
  44.  
  45. player.additem(cookie, 1)
Advertisement
Add Comment
Please, Sign In to add comment