Graal Forums

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

greggiles 12-20-2012 05:39 AM

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");



cbk1994 12-20-2012 06:00 AM

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.

callimuc 12-20-2012 07:15 PM

Quote:

Originally Posted by cbk1994 (Post 1710008)
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


All times are GMT +2. The time now is 09:52 AM.

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