Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-14-2010, 05:08 AM
iSlayer iSlayer is offline
Snk for manager
iSlayer's Avatar
Join Date: Feb 2010
Location: Room 7, Era Hotel, Era
Posts: 202
iSlayer will become famous soon enough
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,
__________________
Snk for manager




Quote:
Originally Posted by Admins View Post
Snk for manager of Era
Reply With Quote
  #2  
Old 07-14-2010, 05:12 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by iSlayer View Post
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.
__________________
Quote:
Reply With Quote
  #3  
Old 07-14-2010, 05:15 AM
iSlayer iSlayer is offline
Snk for manager
iSlayer's Avatar
Join Date: Feb 2010
Location: Room 7, Era Hotel, Era
Posts: 202
iSlayer will become famous soon enough
Quote:
Originally Posted by fowlplay4 View Post
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}; 

__________________
Snk for manager




Quote:
Originally Posted by Admins View Post
Snk for manager of Era

Last edited by iSlayer; 07-14-2010 at 05:26 AM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:11 PM.


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