shoot & actionprojectile
This works perfectly for me, but in the new baddy I'm making the actonprojectile in the Control-NPC does NOT see the new projectile. I can see it shoot, but the Control-NPC doesn't get it when it lands.
Baddy script: NPC Code: Control-NPC: NPC Code:if (actionprojectile) { The Baddy is a DB-NPC. EDIT: By the way, the Control-NPC gets all other projectiles, like the bows and magic I've got. |
try actionsprojectile
|
Hm. Try something like this.
For a Weapon NPC: NPC Code: Then set up another Weapon NPC, such as "-Projectiles": NPC Code: Should work I think. |
To both of you: All other projectiles work, except this one.. I guess Malinkos could work, but I want to know why the current doesn't work.
|
Is it shooting serverside or clientside
|
Hmm.. That might be the problem. This one is serverside, while all other that works are clientside...
|
- actionsprojectile:
is triggered when a server-side script has shot a projectile and the projectile is landed; in #p(0) and #p(1) you have the x and y position of the impact (the control-npc is automatically warped to the level where the impact happened); #p(2),#p(3) etc. contain the params set with 'setshootparams' (before shooting the projectile) Didn't you try actionsprojectile? |
Quote:
|
Quote:
|
Shoot is clientside if you didn't know.
|
No it isn't, I'm pretty sure it is serverside too O.o
|
It would be useless to have actionsprojectile if shoot was clientside only. :)
|
Era's gun's are clientside, Saw the shootcommand in the clientside part :O
|
Quote:
;). |
Quote:
|
All times are GMT +2. The time now is 07:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.