Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   hitobjects (https://forums.graalonline.com/forums/showthread.php?t=53340)

falco10291029 06-22-2004 02:14 AM

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?

Trevor 06-22-2004 05:43 AM

Start a new thread for new questions for better referencing and less confusion down the road.

Loriel 06-22-2004 06:14 PM

Fixed. omg omg omg

Python523 06-22-2004 08:53 PM

http://forums.graal2001.com/forums/s...ad.php?t=53241

falco10291029 06-23-2004 04:24 PM

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?

Xecutor 06-23-2004 05:54 PM

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.

Dach 06-23-2004 06:00 PM

um, works fine for me?

matt8891 06-23-2004 06:01 PM

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"

xManiamaNx 06-23-2004 06:14 PM

There is a character, known as a semicolon. It looks like this ;
End every command with a semicolon.

Trevor 06-23-2004 07:42 PM

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.

falco10291029 06-24-2004 03:54 AM

....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!

xManiamaNx 06-24-2004 06:40 AM

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. :]

Loriel 06-24-2004 08:58 AM

Hm? Read the rules, reopening closed threads is not exactly nice.
Merged with previous thread.


All times are GMT +2. The time now is 10:27 PM.

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