Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   script to place a custom baddy? (https://forums.graalonline.com/forums/showthread.php?t=134262608)

skillmaster19 03-29-2011 02:39 AM

script to place a custom baddy?
 
I made a custom baddy in a class, how would I make a script that places the baddy? If it is putnpc();, how would I use it?(besides making a npc with this.join(""); ), I need to spawn baddies in an event or a quest)

fowlplay4 03-29-2011 03:07 AM

You're starting to border on the beggar line...

PHP Code:

function onCreated() {
  
temp.npc = putnpc2(x, y, "");
  
temp.npc.join("yourbaddyclass");
} 


salesman 03-29-2011 03:15 AM

Jerret is right. The best way to learn is to figure it out yourself.

If you had just done a search for putnpc (or even /scripthelp) and played with it on your own, you would have answered your question.


All times are GMT +2. The time now is 05:55 AM.

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