The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skill calling, dialog buttons
Author Message
Tastaran
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2015
Reputation: 0



Post: #1
Skill calling, dialog buttons
Hi,

I have 2 problems which i cant solve.

1) How can I call some skill in script by number ? - exactly its name and skill?(like alchemy, anatomy ...) ... I need it to my dialog of all skills. Of course I can write it one by one, but its not ideal Smile.

like this :
while (local.x < local.number_of_skills)
dtext 50 50+local.x 0 Skill_(local.x).name
local.x +1
endwhile

2) Is here any trigger of buttons to "anyButton" ? I Have large dialog and solve every button single is not possible.

I need something like this (it was in old sphere, but in 56c doesnt exist.)
on=@AnyButton
dtext 10 10 0 U Pressed button <argn>

Thanks.
(This post was last modified: 03-26-2017 06:24 AM by Tastaran.)
03-26-2017 06:24 AM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #2
RE: Skill calling, dialog buttons
For skills: <serv.skill.<dlocal.x>.name>
03-26-2017 08:26 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #3
RE: Skill calling, dialog buttons
As for buttons... I have never seen anything close to on=@anybutton.
The only thing that exists is ON=4 105 for example where this would trigger any button from 4 to 105 and <ARGN> is the button number

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
03-27-2017 12:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Tastaran
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Dec 2015
Reputation: 0



Post: #4
RE: Skill calling, dialog buttons
Hello,

yea something like this i wanted Smile Thank you both of you.
03-29-2017 11:01 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)