Thread: shoot2()
View Single Post
  #29  
Old 11-05-2011, 01:54 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I've checked the shoot command because we want to possibly replace classic arrows with projectils on Classic iPhone. It seems we can already easily emulate them with the shoot command:
- if you want the projectile to pass walls: use speed=1, zero gravity
- if you want them to hit walls but move horizontally like classic arrows: use speed=0
You can also configure npcs to let them pass projectiles (but block players) with the npc.isblockingprojectiles = true/false variable, its best to set it on both client- and server-side (because it's not synced). There is was problem with inactive npcs ignoring it on server-side but it's fixed in the latest npcserver.
Reply With Quote