Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
items coordinates in containers
Author Message
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #1
items coordinates in containers
Hello. I would like to know is it possible somehow to specify position of item in container by script on server side?
09-22-2014 08:17 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: items coordinates in containers
CONTP x,y

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.
09-22-2014 08:50 PM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: items coordinates in containers
oo nice, thanks for the answer! Smile

Also, to avoid creation of new topic, i would ask here, is it possible to specify target on server side by script too? For example, player using item which making target, and player should select target. How i can do it by script? Using of item i can make by 'dclick <uid>' command in script, but then 'select target' appears, and how to specify target by script, to avoid clicking on target manually?
09-22-2014 09:11 PM
Find all posts by this user Like Post Quote this message in a reply
MrX
Apprentice
*

Posts: 16
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Aug 2014
Reputation: 0



Post: #4
RE: items coordinates in containers
TARGET

SRC.TARG.X
(This post was last modified: 09-22-2014 09:49 PM by MrX.)
09-22-2014 09:48 PM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #5
RE: items coordinates in containers
Not sure i understood how to do it.

Tried
dclick <...>
targ.x <...>

also tried
targ <...>

where <...> is uid of items
09-22-2014 10:01 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #6
RE: items coordinates in containers
Go on sphere_backward_compatibility.scp
Search for npccast... Your answer is there.
I just don't know if it will work with what you want.

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.
09-23-2014 03:40 AM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #7
RE: items coordinates in containers
Hm, okay, i will try that, thank you Smile
09-26-2014 01:17 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)