![]() |
setani problems
I`m having trouble at the simplest script to show a gani. It just makes my character invisible when I use it, I`m trying to make a gunscript I read a lot of topics and how to script and tutorials, but I`m having trouble with set animation, I think it has to do with my servers set-up im not sure. But I`m trying to learn the best I can. I tried searching for a solution but I didn't find anything.
NPC Code://#CLIENTSIDE |
PHP Code:
What do you see in F2, particularly under "Files" and "Scripts"? |
I didn`t think of checking in F2 but I will from now on, but at first it said idle gani wasn't in the folder, I thought it would load the default idle gani. I added it now but in file im getting a different error now :
Quote:
` File download: ("idle".gani not found ` |
Looks like the problem actually is the space. It's interpreting it like GS1. Just remove the space before the opening parenthesis in setAni.
|
works now thank you man, I've been waiting 2 days on why this wasn't working. I got two half made gunscripts I can combine and make one. thank you for replying ill keep an eye out for that sort of thing for next time and search the forums before posting
|
I'm trying to get this to work I'm not setting the variable right can someone help please
NPC Code: |
Quote:
Edit: Hmm seems it wasn't that, but setani is a clientside function so you're sure that you're calling it there? |
Quote:
PHP Code:
|
I also got it working on the test script, i'm going to try to migrate this to the whole gunscript I'll post the script once I'm finished
edit: the whole script isn't working it works without the gani variables but when I try to make it like in the script shown above it doesn't play any of the ganis here's the script Quote:
all im trying to do is get the ganis set as variables something is wrong with it because it's not playing the setanis or replace anis but on the test script the code im using but the temp.idle is making me invisable |
In the future I'd try using PHP and http://www.fp4.ca/gs2beautifier/ before posting on the forums. Makes it a lot easier to read.
PHP Code:
PHP Code:
PHP Code:
|
what id really like to do with the gunscript is make it so that I can change the ganis easy for all the different weapon tiers, I have a weapon with 20 different images. I'd like to make it so the gunscript can read the image if I put all the images in the same spot for the different ganis. I'm wondering if their is a way to do this easily. What I want to do is make it easy for me instead of making 20 different ganis for all the different guns
id really appreciate any help on how to approach making the animations on all the weapons, the script you quoted isn't working yet, the variables arnt working or setting animations right edit: I think I found out what was wrong with the script I needed to group all the this. together, or something else because I redid the script and now its working edit: I got the script working perfectly so I took it out the post, but id really like advice on how to gani all the weapons, I need something to make the editing easier for all the different weapon levels. I have weapons that level so I need something that can change the ganis quickly within the script |
| All times are GMT +2. The time now is 08:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.