Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Dab animations
#11
patch looks good, some notes :
- I don't think we should do `istype() human` checks in input.dm, seems slow and you could just check dir_locked alone i think
- This should probably freeze movement in the same way stuns/buckles do. instead of checking the 'dabbing' flag on /living/Move() and human/restrained(), add some sort of 'emote lock' flag to mobs and check for it in the update_canmove() proc in Life.dm
then you can do this, when you want to freeze/unfreeze movement:
Code:
mob.emote_lock = 1
mob.update_canmove()

[..]

mob.emote_lock = 0
mob.update_canmove()
Reply


Messages In This Thread
[Feature] Dab animations - by moonlol - 03-07-2020, 01:33 PM
RE: [Feature] Dab animations - by Kak0phony - 03-07-2020, 01:39 PM
RE: [Feature] Dab animations - by Avatharian - 03-07-2020, 02:40 PM
RE: [Feature] Dab animations - by Triacontakai - 03-07-2020, 06:03 PM
RE: [Feature] Dab animations - by Ines - 03-07-2020, 06:26 PM
RE: [Feature] Dab animations - by Lady Birb - 03-07-2020, 09:12 PM
RE: [Feature] Dab animations - by aft2001 - 03-08-2020, 07:13 AM
RE: [Feature] Dab animations - by phyvo - 03-08-2020, 10:20 AM
RE: [Feature] Dab animations - by moonlol - 03-08-2020, 11:44 AM
RE: [Feature] Dab animations - by phyvo - 03-09-2020, 04:06 PM
RE: [Feature] Dab animations - by mbc - 03-09-2020, 09:34 PM
RE: [Feature] Dab animations - by Kovirii - 03-10-2020, 01:18 AM
RE: [Feature] Dab animations - by mbc - 03-10-2020, 03:08 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)