Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-07-2010, 01:41 AM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Triggering a function from a weapon on another player.

Alrighty, so I'm doing, in an onActionServerSide() of course:


PHP Code:
with(findplayer(acctnameblah)){
  
BuffSystem.addbuff("nameblah","stuffblah","etc");

now the problem is that it seems to apply for only a split second. but nothing will actually go through to their flags. same thing if i just try to send player.chat = "!"; in this way.

Doesn't make any sense. The script looks like it would make perfect sense, yet it's not working. What's the problem here?
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote
 


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 03:59 PM.


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