Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-16-2002, 05:32 AM
ZeroFXSM ZeroFXSM is offline
Cutie
ZeroFXSM's Avatar
Join Date: Aug 2001
Posts: 941
ZeroFXSM is on a distinguished road
Send a message via AIM to ZeroFXSM
Need help with a script..

I am working on a whole new concept of a bow and arrow. But first. since I am a newbie scripter, I cannot get what I want done. I have made grahpics for each thing.

Those who are familiar with the old script called "JF Targeting" know that once you hit D a targeter thing comes up. I want something like that. Where when you hit D, a target (which I already made) comes up. and when you hit D. it fires whatever to that target... (That can be worked out later..)

So any helpers? Or explain some code that could help me?

(I want the target visiable only to the player)

I don't want anyone to give me a script and say here. I want some key pointers. And don't just tell me "use this" for I have no idea what you may be talking about.
__________________
ZeroFX :: part of the swordsmen clan since 1999
Find me on Aim: jimmydistrict
haha my character still has the blue dragon ammy
Reply With Quote
  #2  
Old 04-16-2002, 06:41 AM
ZeroFXSM ZeroFXSM is offline
Cutie
ZeroFXSM's Avatar
Join Date: Aug 2001
Posts: 941
ZeroFXSM is on a distinguished road
Send a message via AIM to ZeroFXSM
Help..?
__________________
ZeroFX :: part of the swordsmen clan since 1999
Find me on Aim: jimmydistrict
haha my character still has the blue dragon ammy
Reply With Quote
  #3  
Old 04-16-2002, 07:18 AM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
Well, first you may want to make a targetting system graphic...
Then you can use something like
if(weaponfired){setgif2;set this.type=1;} (this.type=1 is used for aiming this)
and such to set it, then use this.type=2 for firing the weapon..

That should work, but if you still have trouble, I'll give you another way to do it.
Reply With Quote
  #4  
Old 04-17-2002, 01:40 AM
ZeroFXSM ZeroFXSM is offline
Cutie
ZeroFXSM's Avatar
Join Date: Aug 2001
Posts: 941
ZeroFXSM is on a distinguished road
Send a message via AIM to ZeroFXSM
Quote:
Originally posted by Neonight
Well, first you may want to make a targetting system graphic...
Then you can use something like
if(weaponfired){setgif2;set this.type=1;} (this.type=1 is used for aiming this)
and such to set it, then use this.type=2 for firing the weapon..

That should work, but if you still have trouble, I'll give you another way to do it.


sorry its as if your speaking a whole new language..

I have a targeter image, and a bow image completed: added:
__________________
ZeroFX :: part of the swordsmen clan since 1999
Find me on Aim: jimmydistrict
haha my character still has the blue dragon ammy
Reply With Quote
Reply


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 01:07 AM.


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