Graal Forums  

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

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-22-2004, 02:14 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
New problem lol hitobjects, i know how to use, but when i do use it, no matter what i put as the first number, it only hurts 1.

NPC Code:

//#CLIENTSIDE
if (weaponfired) {hitobjects 5,x,y}




that will then hurt the object 1 health worth!
Is there something I am doing wrong?
  #2  
Old 06-22-2004, 05:43 AM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Start a new thread for new questions for better referencing and less confusion down the road.
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
  #3  
Old 06-22-2004, 06:14 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Fixed. omg omg omg
  #4  
Old 06-22-2004, 08:53 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
http://forums.graal2001.com/forums/s...ad.php?t=53241
  #5  
Old 06-23-2004, 04:24 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
hitobjects

I dont know why the last thread was closed since no one answered me. Probably a dumb staff mistake. For some reason hitobjects will only hurt 1, no matter how much you tell it to hurt. This is a real problem when making weapons since hitobjects is easier to use than most other ways of doing it. is there some special thing you have to do for it to work?
  #6  
Old 06-23-2004, 05:54 PM
Xecutor Xecutor is offline
Former UN Manager
Join Date: Apr 2004
Posts: 117
Xecutor is on a distinguished road
Quote:
IF YOU DO NOT USE CODE TAGS OR YOU USE THEM WITHOUT EVEN STYLING YOUR CODE, YOUR POST WILL GET DELETED. EXCESSIVE VIOLATION OF THIS WILL ALSO CAUSE THE ACCOUNT TO BE PUNISHED
That's why.
  #7  
Old 06-23-2004, 06:00 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
um, works fine for me?
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
  #8  
Old 06-23-2004, 06:01 PM
matt8891 matt8891 is offline
Registered User
matt8891's Avatar
Join Date: Jul 2003
Location: New York
Posts: 0
matt8891 is on a distinguished road
Send a message via AIM to matt8891 Send a message via Yahoo to matt8891
Quote:
Originally Posted by falco10291029
I dont know why the last thread was closed since no one answered me. Probably a dumb staff mistake. For some reason hitobjects will only hurt 1, no matter how much you tell it to hurt. This is a real problem when making weapons since hitobjects is easier to use than most other ways of doing it. is there some special thing you have to do for it to work?
Stop referring to the people who can open/close topics as "Staff"...Their "Moderators"
  #9  
Old 06-23-2004, 06:14 PM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
There is a character, known as a semicolon. It looks like this ;
End every command with a semicolon.
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

  #10  
Old 06-23-2004, 07:42 PM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Quote:
Originally Posted by matt8891
Stop referring to the people who can open/close topics as "Staff"...Their "Moderators"
Stop referring to the pronoun and verb conjunction `they're' as `their'.

And Moderators are Staff.
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
  #11  
Old 06-24-2004, 03:54 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
....i didnt put anyu scripting why would i need code tags? why would i end with ; when im talking about the command? And i mean online it dont work, client or serverside, it hits them, but only 1 heart. And who cares if I call them staff? NEWSFLASH:MODERATORS ARE STAFF!
  #12  
Old 06-24-2004, 06:40 AM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
That was in reference to the code you posted in your other thread.
EVERY COMMAND (except sparringzone --correct me if i'm wrong) ends with a semicolon.

Start scripting up to the standards if you want most of us to help x-x
I'd try to figure out why it only hurts 1 heart, but im a bigger fan of custom combat systems. :]
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

  #13  
Old 06-24-2004, 08:58 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Hm? Read the rules, reopening closed threads is not exactly nice.
Merged with previous thread.
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:28 AM.


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