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 12-20-2012, 05:39 AM
greggiles greggiles is offline
Registered User
greggiles's Avatar
Join Date: Sep 2007
Posts: 149
greggiles has a spectacular aura about
NPC making NPC

I know I'm probably way off on what it should be, but I'm working on my baddie effects and I need my baddie to place an NPC.

Sooo basically an NPC making an NPC

PHP Code:
function onHurt() {
 
temp.npc this.level.putNPC2(this.xthis.y""); 
 
temp.npc.join("hiteffect");

Reply With Quote
  #2  
Old 12-20-2012, 06:00 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Looks fine to me as long as onHurt is being called and the "hiteffect" class exists. It will need to be serverside, of course. If all you want is the common floating damage/status text, consider just using showani or a player attribute with a GANI script.
__________________
Reply With Quote
  #3  
Old 12-20-2012, 07:15 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by cbk1994 View Post
If all you want is the common floating damage/status text, consider just using showani or a player attribute with a GANI script.
In case of that, you can also take a look at the floating text effect which fp4 made. might help you
http://forums.graalonline.com/forums...hp?t=134261397
__________________
MEEP!
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 12:19 AM.


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