![]() |
Gani Checking
How do I check the current gani so something happens ONLY if I use that gani? Ive tried it with strequals and #m but that doesnt work. Can someone help?
|
command
NPC Code: that may be it .... |
Re: Gani Checking
Quote:
|
Quote:
|
wouldn't you just do like:
NPC Code: |
Quote:
#(letter) cuz I remeber slp asking stefan once and then slp told me but I never remebered it... |
Quote:
#(letter) I mean like #m (that would be a letter) I dont konw what the letter is that you put there... #<a letter goes here but I dont remeber what one> (I should have said it like that) |
mabie ask slp... he might know...
he is the one who told me.. |
eek
Ok, Here is what I tried, FOR TESTING:
if(strequals(#m,sword)){ setplayerprop #c,Hi; } I was doing that to test something to work on something else, and it doesnt work.(testing to see if this would work) Can someone please say why it doesnt? |
and
To test to make sure that it read the gani WITHOUT adding .gani to the end, I made a simple script:
if(playerenters){ message #m; } and the game read it as sword, not sword.gani, so i now I dont need .gani at the end of it |
Quote:
62 different possablilities (its case censitive) |
Maybe...
Im not all god like at scripting like Kai, but maybe somethin like
if (npcgani(gani)) { actions; } Dont yell at me if it dosnt work -Freaky- |
| All times are GMT +2. The time now is 10:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.