Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make thrown knives stick
#4
When has "You shouldn't do X" ever stopped anyone on goon ever? Help intent on self while targeting chest with an empty hand, could make a check, something like

if (target(knifeInChest) == true)
{player.get(item.knife); target(knifeInChest) = false;}
else{target(helpUp);}

Or however the hell Byond code works, I haven't coded at all in a year so that's probably really bad anyways. Whatever.

Last second update: Just realized that would set knives in chest to zero even if there are multiple, so it'd have to check for => 0 but I'm too lazy to change it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)