vinfamy / LifePlay

Free, Open-Source and Moddable Lifesim RPG (Link NSFW). I had to change my dev PC and couldn't set up Git correctly on the new PC so the full source code for the game will be available here: https://mega.nz/folder/1XYSXbRb#nFHZ1wdwTbL6rS1oUdMe0g
https://mega.nz/folder/1XYSXbRb#nFHZ1wdwTbL6rS1oUdMe0g
GNU Affero General Public License v3.0
70 stars 34 forks source link

clearGetList buggy or broken #207

Open Rizean opened 2 years ago

Rizean commented 2 years ago
ACTION_UNIQUEID: rizean_testing_get_test
ACTION_NAME: Rizean Get Test
WHERE: interaction
WHEN: 0 - 24
MINUTES: 1 - 1
TIMEOUT_MINUTES: 0
ALSO_TIMEOUT: 
EFFECTS: 
CONDITIONS: 
MOVE_FIRST: false
SCENE_ALWAYS: rizean_testing_get_test
ANIMATION: 
WHO: Target = getTarget();
WHAT: 
WHERE: 
WHEN: 0 - 24
WHO: none
OTHER:

sceneStart()
  isValid = Target.isValid()
  "Target is <Target.name> isValid? <isValid>"
  count = 0
  temp = getPersonHere()
  While temp.isValid()
    count += 1
    "Found <temp.name> count: <count>"
    temp = getPersonHere()
  EndWhile
  clearGetList()
  temp = getPersonHere()
  isValid = temp.isValid()
  "There are <count> Actors here not including the <Target.name>."
  "Temp name is: '<temp.name>' isValid? '<isValid>'" // temp is not valid
sceneEnd()
vinfamy commented 2 years ago

noted