Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: HydreigonGold on August 16, 2013, 06:06:20 AM
-
Okay, I Know There Is Another Topic About Talking To Peds in The ''Questions/Help'' Section, But
It Really Doesn't Help Me At All. I Downloaded The Player Selector and I Replaced The Scripts. Then I Extracted The ArcRace1.lur File. I Then Used that Code Captain Charisma Used and I Added To a Lua Script That I had Created. But It Just won't Compile! I know That Their Is A Error In It. Here It Is Below:
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library
ImportScript("\\Library\\LibPed.lua") -- imports the LibPed library
local l_0_0 = false
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
local l_1_0 = 270 -- X coords
local l_1_1 = -110 -- Y coords
local l_1_2 = 6.4000000953674 -- Z coords
PlayerSetHealth(200) -- gives the player 200 health
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
IsButtonPressed(10, 0) and IsButtonPressed(8, 0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act
main = function() -- Function Call
F_MissionSetup() -- Mission Setup Function
gMissionRunning = true
Wait(0) --Waits
end -- End Statement
end
So If Someone Please Help Me On This One, As I would Love To Talk To Other Peds In The Game! Help Would Be Appreciated!
-
P.S. I Know How To Use Lua...
-
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library
ImportScript("\\Library\\LibPed.lua") -- imports the LibPed library
local l_0_0 = false
local l_0_1 = "nope"
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
local l_1_0 = 270 -- X coords
local l_1_1 = -110 -- Y coords
local l_1_2 = 6.4000000953674 -- Z coords
PlayerSetHealth(200)
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
end
F_Button = function()
if IsButtonPressed(15, 0) and l_0_1 == "nope" then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act
l_0_1 ="yes"
end
end
MissionCleanup = function()
end -- end statement
main = function() -- Main mission function
repeat
F_Button()
Wait(0)
until l_0_0 ~= false
Wait(3000)
MissionSucceed()
end
-
there ya go! :)
-
Did not work bro error.
-
First off, it's not DaBOSS who founded the player selector, so I had to remove that from the title. Now then:
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")
MissionSetup = function()DATLoad("1_11X2.DAT", 2)
DATInit()
AreaTransitionPoint(0, POINTLIST._1_11X2_CUTPLAYER)
end
MissionCleanup = function()
ClearTextQueue()
gMissionRunning = false
shared.gMissionEventFunction = nil
collectgarbage()
PlayerSetPunishmentPoints(0)
end
TL_Buttons = function()
if IsButtonPressed(1,0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act")
end
end
main = function()
F_MissionSetup()
CreateThread("TL_Buttons")
gMissionRunning = true
while gMissionRunning do
UpdateTextQueue()
TL_Buttons()
Wait(0)
end
end
-
This will work
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library
ImportScript("\\Library\\LibPed.lua") -- imports the LibPed library
local l_0_0 = false
local l_0_1 = "nope"
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
local l_1_0 = 270 -- X coords
local l_1_1 = -110 -- Y coords
local l_1_2 = 6.4000000953674 -- Z coords
PlayerSetHealth(200)
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
end
F_Button = function()
if IsButtonPressed(15, 0) and l_0_1 == "nope" then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act")
l_0_1 ="yes"
end
end
MissionCleanup = function()
end -- end statement
main = function() -- Main mission function
repeat
F_Button()
Wait(0)
until l_0_0 ~= false
Wait(3000)
MissionSucceed()
end
-
HAHHA lol... we posted at the same time. xD
-
What Are the controls to talk?
-
^ If you can wait for a week or so, the full player selector will be released by MadmaN and Rise to Honor, and it will include controls to insult and shove.
-
^ If you can wait for a week or so, the full player selector will be released by MadmaN and Rise to Honor, and it will include controls to insult and shove.
Wow a week?
MadmaN, Rise and Lemon are working fast on the final development stage!
-
No, just Mad and Rise.
I cannot guarantee it'll be completed within a week's time, but I'm expecting it to be.
-
No, just Mad and Rise.
I cannot guarantee it'll be completed within a week's time, but I'm expecting it to be.
Lemon is still providing them with action nodes and he is getting credited for that.
-
Yeah, there is that.
I just mean the script itself.
-
hmmm nice cant wait new mod hehe
-
taunting dogs.........laughing at dogs............burn them
-
????????
-
It does not help that you do 2 posts.
Be more spefici. i dont understand what u mean with burning dogs.....
-
hey or u could wait for the super mod v2 and it has it and its almost out