The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flying green fireball from NPC to the attacked one
Author Message
arka
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
Flying green fireball from NPC to the attacked one
I want an npc to fire this fireball effect at the one he is currently attacking.

the problem is i dont know how to make that happen
i also tried trysrc which makes it happen but in the wrong direction
then the character who gets attacked shoots a fireball at the npc

on=@NPCActFight
EFFECT 0, 036d4, 10, 1, 1, 045, 2
09-12-2016 01:44 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: Flying green fireball from NPC to the attacked one
on=@npcactfight
src.green_fireball <uid>

[function green_fireball]
ref1=<argn1>
trysrc <ref1> effect 0,i_fx_fireball,7,0,1,045,0
ref1.face <uid>
ref1.anim 6
ref1.sound snd_SPELL_FIREBALL
09-12-2016 08:31 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
arka
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
RE: Flying green fireball from NPC to the attacked one
great thanks very much, i havent scripted in a while didnt get it myself Smile
(This post was last modified: 09-13-2016 02:54 AM by arka.)
09-13-2016 02:53 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)