8,168
edits
Script 10k (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) m (left leave this ":" to a minimum okay? =)) |
||
Line 1: | Line 1: | ||
==table design?== | |||
:geyser, is this about what you wanted? | :geyser, is this about what you wanted? | ||
:I have to do it over again, as I screwed a few things up... | :I have to do it over again, as I screwed a few things up... | ||
Line 92: | Line 94: | ||
==chr_teleport -1== | |||
:<tt>chr_teleport [ai_name:string | script_id:int] flag_id:int - teleports a character to a flag - chr_teleport 0 105</tt> | :<tt>chr_teleport [ai_name:string | script_id:int] flag_id:int - teleports a character to a flag - chr_teleport 0 105</tt> | ||
:Tried today it with -1, <tt>chr_teleport -1 400</tt>, which seems to give random results, but always retrieves a spawned character, I thought it would always retrieve the first character alive after Konoko but seems it isn't always the case. Have anyone had also a look a this? If it was a underflow probably it shouldn't retrieve characters most of the time. --[[User:Script 10k|Script 10k]] 12:55, 8 August 2012 (CEST) | :Tried today it with -1, <tt>chr_teleport -1 400</tt>, which seems to give random results, but always retrieves a spawned character, I thought it would always retrieve the first character alive after Konoko but seems it isn't always the case. Have anyone had also a look a this? If it was a underflow probably it shouldn't retrieve characters most of the time. --[[User:Script 10k|Script 10k]] 12:55, 8 August 2012 (CEST) | ||
:::<nowiki>*</nowiki> oncc order: installed oncc files, shapeshift to see the numbers. | ==chr_index vs script_id== | ||
What's the difference between <tt>chr_index</tt> and <tt>script_id?</tt> I think it's that that is messing the things.--[[User:Script 10k|Script 10k]] 16:43, 8 August 2012 (CEST) | |||
:If there's a difference, my guess would be that chr_index is the ONCC order* and script_id the spawn order**. | |||
:<nowiki>*</nowiki> oncc order: installed oncc files, shapeshift to see the numbers. | |||
:<nowiki>**</nowiki> spawn order: first spawned character is 0, second spawned character is 1, and so on. --[[User:Paradox-01|paradox-01]] 17:24, 8 August 2012 (CEST) | |||
I've been playing with <tt>chr_focus</tt> lately, I am sure that that char_index is the spawn order. Haven't checked the ONCC order although. --[[User:Script 10k|Script 10k]] 17:31, 8 August 2012 (CEST) | |||
: | :Uhm, I confused chr_index with class_index, sorry. (eg ''chr_set_class chr_index:int [class_name:string | class_index:int]'') | ||
: | :However I checked the ssg's list and it looks like that chr_index is used only be PC retail. *shrugs* --[[User:Paradox-01|paradox-01]] 18:13, 8 August 2012 (CEST) |
edits