![]() |
shoot in gs2
In code that is otherwise gs2, I find myself needing to have one line of code in gs1 becasuse the gs2 formatting causes shoot to not work.
What I have: (this.angle is set with getangle from the vecs of the playerdir) PHP Code:
what the wiki says on http://wiki.graal.us/GScript under old to new conversions: Quote:
PHP Code:
as the old newfeatures file which addresses shoot says it may do. I know that the last variable is supposed to be the gani attribute, but there is no gani attribute that I need to change. All I want to do it show the gani as-is. Even setting the last attribute to arrow - which is what i called the arrow sprites when i made the gani - it still just shows the gani. Taking off the last variable in gs2 causes the projectile to not show up at all. I just want one arrow frame for the correct direction to show, so i do not need setshootparams. I tried a forums search and the only possibly useful thread had the code that would have been helpful to me deleted by lance, in this thread http://forums.graalonline.com/forums...ighlight=shoot so ... what broke in gs2 here? or, what am I doing wrong? Basically, what would an example ganiparams look like? I have use every resource (forums search, wiki, newfeatures) and cannot find what i need to know to make this work in gs. Please have mercy and help me!!! |
Strings in gscript2 need to be surrounded by "quotemarks".
PHP Code:
|
(thank you skyld ... grabs a crayon and writes on my brain)
If you want a string in gs2 .. put it in "quotes" and it makes it all better ... btw skyld i am looking forward to Rudora. nice menu gui you got there so far. |
Quote:
Quote:
|
| All times are GMT +2. The time now is 09:47 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.