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 07-25-2012, 10:12 PM
Bleachlover551 Bleachlover551 is offline
Soul Reaper
Bleachlover551's Avatar
Join Date: Jul 2012
Location: Brunswick
Posts: 34
Bleachlover551 is an unknown quantity at this point
Post Image Following Mouse & Bomb Trail Following Mouse Script

I made this script, but if there is any bug or it doesn't work. Please message me ASAP! Also im aware that u can't use the "If (weaponfired)" Script with this script. Please also note that i'm not sure how to have a activation button like "d" pressed to make the bomb trial follow the mouse


Images(necessary):


Image Following Mouse Script:
PHP Code:
// NPC made by Toshi! (Developer)
if (created){
  
toweapons LOL xD;
setimg crystalflash.gif;
    }
if (
playerenters || timeout){
  
drawaslight;
  
x=mousex-.5;
  
y=mousey-.5;
  
timeout=.05;

Bomb Trail Following Mouse Script:
PHP Code:
// NPC made by Toshi! (Developer)
if (created){
  
toweapons LOL xD2;
}
if (
playerenters || timeout){
  
timeout=.05;
  
putexplosion2 4,1,mousex-1,mousey-1;

Like I stated "Stupid Easy" by the way I think this is GS1 but im not quite sure if it would be GS2. lol anyways leave feedback, and Thanks for taking the time to read my thread ^_^
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 04:35 PM.


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