Skip to content
Snippets Groups Projects
Commit 49ef6954 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

fix body swap

parent 3e24de5d
No related branches found
No related tags found
1 merge request!7916fix body swap
:: Slave Slave Swap [nobr] :: Slave Slave Swap [nobr]
<<set $nextButton = "Continue">> <<set $nextButton = "Continue">>
<<set _ss1 = $slaveIndices[$activeSlave.ID]>> <<set _ss1 = $slaveIndices[$AS]>>
<<set _ss1Clone = clone($activeSlave)>> <<set _ss1Clone = clone(getSlave(V.AS))>>
<<set _ss2 = $slaveIndices[$swappingSlave.ID]>> <<set _ss2 = $slaveIndices[$swappingSlave.ID]>>
<<set _ss2Clone = clone($swappingSlave)>> <<set _ss2Clone = clone($swappingSlave)>>
<<set _gps1 = $genePool.findIndex(function(s) { return s.ID == $slaves[_ss1].ID; })>> <<set _gps1 = $genePool.findIndex(function(s) { return s.ID == $slaves[_ss1].ID; })>>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<<set _gps2 = $genePool.findIndex(function(s) { return s.ID == $slaves[_ss2].ID; })>> <<set _gps2 = $genePool.findIndex(function(s) { return s.ID == $slaves[_ss2].ID; })>>
<<set _gps2Clone = clone($genePool[_gps2])>> <<set _gps2Clone = clone($genePool[_gps2])>>
You strap $activeSlave.slaveName and $swappingSlave.slaveName into the remote surgery and stand back as it goes to work. You strap <<= getSlave($AS).slaveName>> and $swappingSlave.slaveName into the remote surgery and stand back as it goes to work.
<<BodySwap $slaves[_ss1] _ss2Clone>> <<BodySwap $slaves[_ss1] _ss2Clone>>
<<BodySwap $genePool[_gps1] _gps2Clone 1>> /* passing a third argument just to detect if it's a slave from the genepool */ <<BodySwap $genePool[_gps1] _gps2Clone 1>> /* passing a third argument just to detect if it's a slave from the genepool */
<<BodySwap $slaves[_ss2] _ss1Clone>> <<BodySwap $slaves[_ss2] _ss1Clone>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment