Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Position object
|
Author |
Message |
gonnie 
Apprentice

Posts: 3
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0
![]()
|
Position object
is there a way to create an object that is a position like
serv.newposition = x,y,z
or something like that?
because i saw this
Code:
[FUNCTION point_info]
IF !<ARGS>
VAR.TI = 0 // Failed
RETURN 0
ENDIF
SERV.NEWNPC = c_man
NEW.FLAGS = 04
NEW.P = <ARGS>
NEW.FIX
VAR.TI = 1 // Success
VAR.TI_P = <NEW.P>
VAR.TI_X = <NEW.P.X>
VAR.TI_Y = <NEW.P.Y>
VAR.TI_Z = <NEW.P.Z>
VAR.TI_LOS = <NEW.CanSeeLOS>
VAR.TI_SEE = <NEW.CanSee>
VAR.TI_RFLAGS = <NEW.REGION.FLAGS>
VAR.TI_DISTANCE = <NEW.DISTANCE>
NEW.REMOVE
VAR.TI_TEMP =
RETURN 0
do i always need to create an npc to get data from a position?
|
|
08-17-2012 10:52 AM |
|
|
Messages In This Thread |
Position object - gonnie - 08-17-2012 10:52 AM
|
User(s) browsing this thread: 1 Guest(s)