[doubt] Archery

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Post Reply
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

[doubt] Archery

Post by DerexScript »

I made the following hook "Attack".
To be able to control the combat my way !.

How can I shoot with bow at the same time that the character is walking?

Could someone give me an example?

Thank you all!
Rodolfo
New User
Posts: 2
Joined: Sun Feb 05, 2017 3:17 am

Re: [doubt] Archery

Post by Rodolfo »

i have the same problem.
when i walk, the character stop the atack.
what we need to do?
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: [doubt] Archery

Post by Harley »

You Need go to this page and Look firewhilemoving
https://docs.polserver.com/pol099/privileges.php
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: [doubt] Archery

Post by DerexScript »

I'm testing the privillege "firewhilemoving" and I can't manage how to make it work.

Use uo;
program textcmd_test( mobile )
GrantPrivilege( mobile, "firewhilemoving");
mobile.enable("firewhilemoving");
SendSysMessage(mobile, "firewhilemoving Actived");
return 1;
endprogram

I'm doing it right?
It does not even get into "syshook_attack.src".
I put a "SendSysMessage" at the beginning of "syshook_attack.src", only printa when I'm stopped. If I'm walking, it does not do anything.
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: [doubt] Archery

Post by Harley »

You made script which enable this privilege.
After you have to put bow or crossbow in your arms, have some amount arrows/bolts, put on War Mode and when you will run, your weapon will shoot and damage your opponent.

At my shard it works like I sad.
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: [doubt] Archery

Post by DerexScript »

You can publish an example?
DerexScript
New User
Posts: 24
Joined: Thu Jan 12, 2017 7:19 am

Re: [doubt] Archery

Post by DerexScript »

One more doubt, if I have the following hook >> "Attack"

The privilege "firewhilemoving" will work?
What would be another way to do that?

As soon as my character moves, he does not even enter the hook.
Post Reply