Bombs and Bows
Can anybody tell me how to add bombs and arrows weapons to my playerworld please? Like the default weapons on Classic iPhone
|
.....?
|
You script them.
As *Bow and/or *Bomb, and add them using addweapon to player. Important Functions: shootarrow(dir); putbomb(power, x, y); Search the forums they're probably out there already. |
arent there problems with the gmap and default bows and arrows though?
|
Quote:
I posted them before here: http://forums.graalonline.com/forums...36&postcount=3 |
I think you can just add yourself Bombs and Bow...
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
The default weapons are implemented with built-in scripts, if you want to write a custom one then you need to use a different weapon name.
I'm not sure if we have already posted the default scripts, but they are quite simple, here the bomb and bow: PHP Code:
PHP Code:
|
what would be the NPC code to add bombs to a player... as in if somebody said "10 bombs" it would add 10 bombs to the player?
|
does nobody know or does it not exist x_x
|
PHP Code:
|
Quote:
where would i put the PHP code... |
All times are GMT +2. The time now is 11:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.