Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: NaisBully on March 19, 2012, 12:12:36 PM
-
Hey guys/girls
I was toying around with ide.img and I thought of something. What element in the hex makes a character kissable, like the boys (Trent, Duncan, Kirby, Gord, Cornelius & Vance)? Is it something in their names, or is there another element that makes them kissable? If anyone knows please tell me & Thanks In Advance! :)
-
It's in Scripts.
-
Correct!
This is a portion of what triggers kissing for a named ped.
l_3_0 = PedCreatePoint(l_0_1[l_3_2], POINTLIST._CHARACTERS, l_3_2)
PedSetEmotionTowardsPed(l_3_0, gPlayer, 7)
PedSetPedToTypeAttitude(l_3_0, 13, 4)
PedSetRequiredGift(l_3_0, 1, false, true)
PedSetFlag(l_3_0, 84, true)
PedSetAsleep(l_3_0, true)
PedSetCheap(l_3_0, true)
table.insert(l_0_0, l_3_0)
Wait(0)
-
Correct!
This is a portion of what triggers kissing for a named ped.
l_3_0 = PedCreatePoint(l_0_1[l_3_2], POINTLIST._CHARACTERS, l_3_2)
PedSetEmotionTowardsPed(l_3_0, gPlayer, 7)
PedSetPedToTypeAttitude(l_3_0, 13, 4)
PedSetRequiredGift(l_3_0, 1, false, true)
PedSetFlag(l_3_0, 84, true)
PedSetAsleep(l_3_0, true)
PedSetCheap(l_3_0, true)
table.insert(l_0_0, l_3_0)
Wait(0)
Ah, so this is possibly the same method in which is used to make bodyguards hold your hand etc and to make peds hireable?
-
yup. Exact same method.
The difference between having bodyguards hold your hand and just stand next to you and follow is just a slight change of the code above.