![]() |
Spells
I am wondering, I always use putnpc2; for my spells (in the serverside portion obvioulsy), but i am wondering if anyone can describe he shoot command a little better than the documents I have seen, because in some cases this would be better to use for me than putnpc2 and any other stuff (Note: If you are interested in how i do it, pm me).
|
newfeatureswhatever.txt I forget which year it is, but one of the newfeatures txt files explain the shoot command in detail.
|
Why does it need to be described more? The document is fine
|
Can you require that people at least *try* to make their posts readable?
|
A mandatory spell and grammar check for anything not in code tags XD.
|
It seems he comes here and makes a topic for every little bump he comes across. Atleast try.
|
I don't are if he asks for help. In fact, I encourage it, but I want people to atleast try and use correct grammar and spelling.
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
|
If the newfeatures text files do not document it enough, nothing does.
|
Actually I have never seen newfeatures.txt I am talking about custom health tutorials wyere it just shows the command used and says then use an action and in commands.rtf where it just shows it so can i get a link to newfeatures.txt?
|
Quote:
|
Thank you I will look at that ASAP
|
You should also look into simply practicing with scripts offline. Then when you get the basic idea take it online. I'm a newbie when it comes to scripting but I've learned a lot on my own. @_@; though Malinko laughs at me.
|
Cool the newfeautures explained shoot well enough for me to understand, and i have made my first weapon for it already, called rock throw, also i was wondering, in almost all of my weapons, i have to do a set of commands for eac direction I.E:
NPC Code: Is there a way to make it so i only need to do 1 direction, for like explosion weapons or shoot... |
'=' is not used in the situation you have above. Also I do not understand your question, someone else might however.
|
vecx(playerdir) & vecy(playerdir)
|
Quote:
= is your assignment operator == is your comparison operator |
Quote:
= is 'becomes', so NPC Code: means that x becomes ten == is 'the same' or 'equals' so NPC Code: then x is equal to ten Although you can use NPC Code: because of compability with Java or something, it is strongly adviced not to. |
whatever i try not to and then how do you use vecx(playerdir) & vecy(playerdir) i have seen them before but they are a little complicated
|
they are arrays that return the increment direction (-1 or 1) for that direction
NPC Code:dir | up left down right |
Oh i get it so if used correctly u can sometimes replace if (playerdir==#). I will attempt to use that sometime
|
| All times are GMT +2. The time now is 04:52 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.