Advertisement
gribbleshnibit8

Ref Walking with Lutana NVSE's GetCellRefs

Aug 13th, 2014
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. array_var ar_cellContents
  2. array_var ar_element
  3.  
  4. let ar_cellContents := GetCellRefs 200 2 ; find actor refs within 2 cells of me
  5. ForEach ar_element <- ar_cellContents
  6. ; do what needs to be done here
  7. ; maybe we have a condition that skips the rest so use
  8. Continue
  9. ; or another condition that ends the loop, so
  10. Break
  11. Loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement