![]() |
setfocus
how do you setfocus to a player on a different level? I have tried normal setfocus using indexes and such bvut it wont work
|
Unless you are using a gmap, you cannot focus on a player in another level.
Well, you could, but you would not be able to actually see anything happening there. |
well how culd u even if u culdnt c anything happening?
|
Well, couldn't you copy the levels tiles into variables or something? I heard Alexander did something similar, which turned out awesome I might add.
|
well i wanna know cus i have this npc where you take control of that person totally, except wepons and junk. like u get a basic attack to use, then u also control movement and talking. I think itd be better if it setfocus on them. alkso what stop movement commands work serverside?
|
Quote:
Quote:
|
yeah spy npcs are easy except i dunno the tile part i just have it so u see the person talking and ganis and it displays things about then. It sux that u cant focus on that player then for a control npc:-/
|
wait a second idnt there a warpto command for npcs? Cant u use that to warp the npc there then set the focus on the npcs x and y and have it go to the players x and y?
|
Quote:
|
Lol... You can't see player movement on different levels unless using a gmap, so even if you did setfocus on a different level it wouldn't matter...
|
So in other words there is no way in current gscript to do this?
|
Quote:
|
well that royally sux, make new commands, like setfocus2 x,y,level. that would work
|
Quote:
|
Quote:
|
well ucould make it so it would basically act like u r the.......duh....ill just have it set old x and y and level, then have it actually just warpto th charcter ur controlling
|
Quote:
|
Give it up man. There is no easy way to view another level unless it's THAT important.
|
Quote:
Thats not what i am saying. I am saying that it will save your x and y and level as a string, then warpo you to the player you are controlling, so you will be on that level, then when you turn it off, i will have it warp you back! |
Quote:
|
Wait i edited this u cant set it to warpto the player can u #L wont work with with() it just sets it as the using players level.
|
Use #F for current active players level.
|
Quote:
|
Ok thanks I dont remember ever seeing #F in commands.rtf, where i looked before posting my problem of course ;)
|
| All times are GMT +2. The time now is 07:08 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.