Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Regarding Warpto. (https://forums.graalonline.com/forums/showthread.php?t=134265535)

Gunderak 01-08-2012 06:31 AM

Regarding Warpto.
 
In the playerlist when you right click on someone it has a warpto command.
Does anyone happen to know the text list controls name so that I could add some custom things into it?
Such as summon for instance.
Thanks.

fowlplay4 01-08-2012 06:40 AM

You can use this in a weapon and then click the object to find it's name:

PHP Code:

//#CLIENTSIDE
function onFirstResponderChanges(obj) {
  echo(
obj.name);


I have a feeling there's a public function you can use to do it though, someone else will have to help you with that if there is.

Gunderak 01-08-2012 07:01 AM

Thanks, That command will prove to be helpful now and possibly in the future.
And if there is a public function to do it, I'm not aware of it.
I shall just make my own function to summon the player.

On a side note, Is there any way to move a row up or down?
As I want to position it directly underneath warpto.

Gunderak 01-08-2012 07:09 AM

Nbm, I just found insertrow.

fowlplay4 01-08-2012 07:57 AM

The GUI stuff is fairly well documented so I would get there and scripthelp. I.e:

/scripthelp GuiTextListCtrl


All times are GMT +2. The time now is 11:02 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.