Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"message" doesn't work with spells under @gethit
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
"message" doesn't work with spells under @gethit
I added a simple events to all chars and players

PHP Code:
ON=@GETHIT
message 
@33,<ARGN1

Players have not problem at all but chars cannot display the message if they get hit by a spell.
02-28-2014 11:28 AM
Find all posts by this user Like Post Quote this message in a reply
JohnVeritas
Apprentice
*

Posts: 49
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 2



Post: #2
RE: "message" doesn't work with spells under @gethit
if you want to show that messeage upon head use "sayua" otherwise "sysmessage"

Code:
sayua 020,6,6,0 xxx
(This post was last modified: 02-28-2014 11:46 AM by JohnVeritas.)
02-28-2014 11:45 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #3
RE: "message" doesn't work with spells under @gethit
There's a 3rd argument in messages: 'color,font,unicode'. Try message @33,0,0 <dargn1>
02-28-2014 05:42 PM
Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #4
RE: "message" doesn't work with spells under @gethit
or
Code:
on=@gethit
   trysrc <uid> message @55 <argn1> //show to receiver
   message @55 <argn1> //show to attacker
02-28-2014 09:04 PM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #5
RE: "message" doesn't work with spells under @gethit
I missed an "endif" before...

[Image: 50486_195083303927029_2041548019_n.jpg]

in that way message worked for every kind of damage except for spells damage... i got crazy.. incredible
(This post was last modified: 03-01-2014 08:19 AM by Rizz.)
03-01-2014 08:13 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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