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-nmm7 (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-nmm7 (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-nmm7 (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
bring up a target?
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
bring up a target?
Code:
[PLEVEL 1]
stats

[FUNCTION stats]
DIALOG d_stats
DIALOG d_stats2

[DIALOG d_stats]
20,45
nomove
page 0 // Basic layout
.
.
.

how can i bring up a target, so you can target yourself and see your stats, OR target someone else and see their stats


i tried

[PLEVEL 1]
stats

[FUNCTION stats]
TARGETF DIALOG d_stats
TARGETF DIALOG d_stats2

dont work

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 10-27-2015 06:46 AM by x77x.)
10-27-2015 06:44 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #2
RE: bring up a target?
[FUNCTION stats]
SRC.SYSMESSAGE choose a target
TARGETF f_stats

[FUNCTION f_stats]
SRC.DIALOG d_stats

[DIALOG d_stats]
dtext 120 80 137 <ARGO.NAME>

Something like that
(This post was last modified: 10-27-2015 07:16 AM by pointhz.)
10-27-2015 07:04 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #3
RE: bring up a target?
[FUNCTION stats]
SysMessage=Choose a target.
TARGETF f_stats


[FUNCTION f_stats]
ARGO.DIALOG d_stats // DIALOGS are called on ARGO, but showed to SRC by default so you only need to point to who do you want to see stats while you are SRC.

[DIALOG d_stats]
dtext 120 80 137 <NAME> // NO ARGO, NO SRC in the whole dialog
10-27-2015 06:18 PM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #4
RE: bring up a target?
How could you force the dialog to be opened on argo instead of in yourself xun?
10-28-2015 01:52 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #5
RE: bring up a target?
trysrc argo, argo.dialog d_stats
10-28-2015 02:48 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #6
RE: bring up a target?
players only?

it works but on everything...

Dragons of Time 2000-2020
http://dragonsoftime.com
10-28-2015 03:24 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #7
RE: bring up a target?
Trysrc <ARGO> sdialog d_stats

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-28-2015 09:24 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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