Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Custom Baddy NPC (https://forums.graalonline.com/forums/showthread.php?t=134259833)

iSlayer 07-14-2010 05:08 AM

Custom Baddy NPC
 
Well i'm very new to scripting and i'm trying to make a quest, and I need some custom weapon NPC help

When I try to edit the baddy's they don't come up in the NPC editor

So I need a way to make the baddy attack with an NPC weapon called Melee/Sword, and for it to hurt players with clientr.hp, once I can get a base script, I can edit it and get it working for my server

If anyone helps, Thanks,

fowlplay4 07-14-2010 05:12 AM

Quote:

Originally Posted by iSlayer (Post 1587514)
once I can get a base script, I can edit it and get it working for my server

This is as base as you're going get:

http://forums.graalonline.com/forums...hp?t=134258428

Script begging like this isn't going to finish your server though.

iSlayer 07-14-2010 05:15 AM

Quote:

Originally Posted by fowlplay4 (Post 1587517)
This is as base as you're going get:

http://forums.graalonline.com/forums...hp?t=134258428

Script begging like this isn't going to finish your server though.

So if I add this the baddy will die in one shot when they get shot?

PHP Code:

function onActionProjectile() { 
this.health = {010}; 




All times are GMT +2. The time now is 06:15 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.