11
« on: December 26, 2012, 02:35:10 PM »
I decided to go ahead and release my sources for the multi-bodyguard mod since I plan to take a different direction with this mod.
This source works quite well but is a bit cumbersome since I wrote this when I was experimenting with different ways to have multiple bodyguards as well as assign different fighting styles to them.
There are some bugs with this script which is also another reason why I am releasing it since this is being released so people can learn a more advanced way to code a custom mod for Bully.
The bugs are: only 2 health bars show for the bodyguards at any given time ....I never figured out how to fix that part since I can't force more to show nor can I stop them from showing up. The other bug is only one bodyguard will attack if you get attacked but they all will follow you everywhere you go.
I can fix the other bugs but like I said, I will be going another direction with this mod and using different code and I have commented this code very heavily to give people a easier time understanding what everything says and is for.
All of the bodyguard code except for one section for the peds...one section for hte fighting styles and so forth can be un-commented at any given time. Do not try to use everything uncommented because it will simply crash the game.
The bodyguards are all there....this is setup as a entire clique bodyguard mod. The preps clique including the dog is there...the dog also has the prep boxing style assigned to him/it/her and it walks around on two legs like the other peds and will box....all the jocks are there..and so on.
Please have fun with this mod and if you intend to release a modified version of this please release both the compiled mod and the sources so others can learn how to do this based on your additions. Also please do not take my name from the credits since I worked extremely hard on creating this mod and it is the first of its kind so if you modify anything and release it...make sure to add a line at the top area with the rest of the credits that says -- Modified by: your name here.
Here is the source:
Multi Bodyguard Mod v1 by: |XF|-MadmaN [AR]
UPDATE - edited the script to match the fixed one posted by Red Blaster a few posts down so that anyone using this one will have the proper script.
[noae]-- Multi-Bodyguard Mod V1 BETA
-- By: |XF|-MadmaN [AR]
-- Please do not modify the above author name and if you wish to release a modified version of this
-- then just add a line that says: -- Modified by:
GlobalImportScript("SObjTest.lua") -- Globally loads the Debug Menu for BULLY
ImportScript("Library/LibTable.lua") -- Imports the libtable Library Script
ImportScript("SZone.lua") -- Imports the SZone Debug System Script
--l_0_0 = 60
MissionSetup = function()
DATLoad("6_02GDORM.DAT", 2)
DATInit()
-- local l_1_0 = 270 -- X Coordinates
-- local l_1_1 = -110 -- Y Coordinates
-- local l_1_2 = 6.4000000953674 -- Z Coordinates
AreaTransitionPoint(0, POINTLIST._6_02G_SPAWNPLAYER)
-- AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2) -- Areacode (0) with the XYZ Coordinates Locals as Defined above. Locals are always defined first for every function
AreaSetDoorPathableToPeds(TRIGGER._BUSDOORS, true)
VehicleBikeGeneratorToggle(true)
TextPrintString("Bully: Scholarship Edition Multi-Bodyguard Mod v1 BETA.", 4, 1) -- Mod Title Screen
Wait(5000) -- Waits 5 Seconds
TextPrintString("By: |XF|-MadmaN [AR] ", 4, 1) -- Author name(s) goes here
Wait(5000) -- Waits 5 Seconds
gMonitorAllies = true
-- Unique Model Status Code Start (freeroam) -1: not in freeroam 1: in freeroam (this number can be changed to a higher number to spawn multiple copies of the same ped)
PedSetUniqueModelStatus(2, 1) -- Zoe
PedSetUniqueModelStatus(3, 1) -- Beatrice
PedSetUniqueModelStatus(4, 1) -- Algernon
PedSetUniqueModelStatus(5, 1) -- Fatty
PedSetUniqueModelStatus(6, 1) -- Melvin
PedSetUniqueModelStatus(7, 1) -- Thad
PedSetUniqueModelStatus(8, 1) -- Bucky
PedSetUniqueModelStatus(9, 1) -- Cornelius
PedSetUniqueModelStatus(10, 1) -- Earnest
PedSetUniqueModelStatus(11, 1) -- Donald
PedSetUniqueModelStatus(12, 1) -- Damon
PedSetUniqueModelStatus(13, 1) -- Kirby
PedSetUniqueModelStatus(14, 1) -- Mandy
PedSetUniqueModelStatus(15, 1) -- Dan
PedSetUniqueModelStatus(16, 1) -- Luis
PedSetUniqueModelStatus(17, 1) -- Casey
PedSetUniqueModelStatus(18, 1) -- Bo
PedSetUniqueModelStatus(19, 1) -- Ted
PedSetUniqueModelStatus(20, 1) -- Juri
PedSetUniqueModelStatus(21, 1) -- Peanut (greasers)
PedSetUniqueModelStatus(22, 1) -- Hal (greasers)
PedSetUniqueModelStatus(23, 1) -- Johnny (greasers)
PedSetUniqueModelStatus(24, 1) -- Lefty (greasers)
PedSetUniqueModelStatus(25, 1) -- Lola (greasers)
PedSetUniqueModelStatus(26, 1) -- Lucky (greasers)
PedSetUniqueModelStatus(27, 1) -- Vance (greasers)
PedSetUniqueModelStatus(28, 1) -- Ricky (greasers)
PedSetUniqueModelStatus(29, 1) -- Norton (greasers)
PedSetUniqueModelStatus(30, 1) -- Gord
PedSetUniqueModelStatus(31, 1) -- Tad
PedSetUniqueModelStatus(32, 1) -- Chad
PedSetUniqueModelStatus(33, 1) -- Bif
PedSetUniqueModelStatus(34, 1) -- Justin
PedSetUniqueModelStatus(35, 1) -- Bryce
PedSetUniqueModelStatus(36, 1) -- Bryce (boxing)
PedSetUniqueModelStatus(37, 1) -- Darby
PedSetUniqueModelStatus(38, 1) -- Pinky
PedSetUniqueModelStatus(39, 1) -- Angie
PedSetUniqueModelStatus(40, 1) -- Parker
PedSetUniqueModelStatus(41, 1) -- Jerry
PedSetUniqueModelStatus(42, 1) -- Otto
PedSetUniqueModelStatus(43, 1) -- Leon
PedSetUniqueModelStatus(44, 1) -- Duncan
PedSetUniqueModelStatus(45, 1) -- Henry
PedSetUniqueModelStatus(46, 1) -- Gurney
PedSetUniqueModelStatus(47, 1) -- Omar
PedSetUniqueModelStatus(48, 1) -- Zoe (alternate outfit?)
PedSetUniqueModelStatus(49, 1) -- Max (prefect)
PedSetUniqueModelStatus(50, 1) -- Seth (prefect)
PedSetUniqueModelStatus(51, 1) -- Edward (prefect)
PedSetUniqueModelStatus(52, 1) -- Karl (prefect leader)
PedSetUniqueModelStatus(53, 1) -- Theo (Orderly)
PedSetUniqueModelStatus(54, 1) -- Miss Peabody (HallMonitor)
PedSetUniqueModelStatus(55, 1) -- Mr Burton (Gym Teacher)
PedSetUniqueModelStatus(56, 1) -- Mr Luntz (Janitor)
PedSetUniqueModelStatus(57, 1) -- Mr Galloway (English Teacher)
PedSetUniqueModelStatus(58, 1) -- Edna (Cafeteria Cook)
PedSetUniqueModelStatus(59, 1) -- Miss Winston (Secretary)
PedSetUniqueModelStatus(60, 1) -- Mrs McRae (Nurse)
PedSetUniqueModelStatus(61, 1) -- Mr Hattrick (Math Teacher)
PedSetUniqueModelStatus(62, 1) -- Mrs Carvin (Librarian)
PedSetUniqueModelStatus(63, 1) -- Ms Phillips (Art Teacher)
PedSetUniqueModelStatus(64, 1) -- Mr Slawter (Biology Teacher)
PedSetUniqueModelStatus(65, 1) -- Dr Crabblesnitch (Principal)
PedSetUniqueModelStatus(66, 1) -- Sheldon (student) (Little kid)
PedSetUniqueModelStatus(67, 1) -- Christy (student)
PedSetUniqueModelStatus(68, 1) -- Gloria (student) (Little kid)
PedSetUniqueModelStatus(69, 1) -- Pedro (student) (Little kid)
PedSetUniqueModelStatus(70, 1) -- Constantinos (student)
PedSetUniqueModelStatus(71, 1) -- Ray (Student) (fat kid)
PedSetUniqueModelStatus(72, 1) -- Ivan (student)
PedSetUniqueModelStatus(73, 1) -- Trevor (student)
PedSetUniqueModelStatus(74, 1) -- Eunice (student) (fat girl)
PedSetUniqueModelStatus(75, 1) -- Russell (Bully) (freeroam model)
PedSetUniqueModelStatus(76, 1) -- Dr Bambillo (shop owner) (TownsPerson)
PedSetUniqueModelStatus(77, 1) -- Mr Sullivan (shop owner) (TownsPerson)
PedSetUniqueModelStatus(78, 1) -- Ms Kopke (shop owner) (TownsPerson)
PedSetUniqueModelStatus(79, 1) -- Ms Rushinski (shop owner) (TownsPerson)
PedSetUniqueModelStatus(80, 1) -- Ms Isaacs (TownsPerson)
PedSetUniqueModelStatus(81, 1) -- Bethany Jones (TownsPerson)
PedSetUniqueModelStatus(82, 1) -- ORourke (fireman) (TownsPerson)
PedSetUniqueModelStatus(83, 1) -- Officer Monson (Cop) (TownsPerson)
PedSetUniqueModelStatus(84, 1) -- Zack Owens (Comic Store Owner) (TownsPerson)
PedSetUniqueModelStatus(85, 1) -- Trent (Bully)
PedSetUniqueModelStatus(86, 1) -- Tobias Mason (Bike Shop Owner) (TownsPerson)
PedSetUniqueModelStatus(87, 1) -- Mr Grant (Hobo)
PedSetUniqueModelStatus(88, 1) -- Mascot (Jocks)
PedSetUniqueModelStatus(89, 1) -- Mr Oh (Grocery Store Owner) (TownsPerson)
PedSetUniqueModelStatus(90, 1) -- Christy (winter) (student)
PedSetUniqueModelStatus(91, 1) -- Edgar (Dropouts Leader)
PedSetUniqueModelStatus(92, 1) -- Luis (Wrestling) (Jocks)
PedSetUniqueModelStatus(93, 1) -- Mandy (winter) (Jocks)
PedSetUniqueModelStatus(94, 1) -- Pinky (winter) (Preppy)
PedSetUniqueModelStatus(95, 1) -- Beatrice (winter) (Nerds)
PedSetUniqueModelStatus(96, 1) -- Lola (winter) (Greasers)
PedSetUniqueModelStatus(97, 1) -- Officer Williams (Cop) (TownsPerson)
PedSetUniqueModelStatus(98, 1) -- Jimmy (Wrestling) (Player)
PedSetUniqueModelStatus(99, 1) -- Davis (Bully)
PedSetUniqueModelStatus(100, 1) -- Mr Breckindale (TownsPerson)
PedSetUniqueModelStatus(101, 1) -- Mr Doolin (TownsPerson)
PedSetUniqueModelStatus(102, 1) -- Troy (Bully)
PedSetUniqueModelStatus(103, 1) -- Nate (Fire Owner) (TownsPerson)
PedSetUniqueModelStatus(104, 1) -- Mr Carmichael (Shop Owner)
PedSetUniqueModelStatus(105, 1) -- Nicky Charles (Shop Owner)
PedSetUniqueModelStatus(106, 1) -- Mr Watts (Chemistry Teacher)
PedSetUniqueModelStatus(107, 1) -- Miss Abby (Shop Owner)
PedSetUniqueModelStatus(108, 1) -- Mihailovich (Shop Owner)
PedSetUniqueModelStatus(109, 1) -- Kirby (Football Uniform)
PedSetUniqueModelStatus(110, 1) -- Ted (Football Uniform)
PedSetUniqueModelStatus(111, 1) -- Dan (Football Uniform)
PedSetUniqueModelStatus(112, 1) -- Damon (Football Uniform)
PedSetUniqueModelStatus(113, 1) -- Freeley (Carnival)
PedSetUniqueModelStatus(114, 1) -- Dorsey (Carnival)
PedSetUniqueModelStatus(115, 1) -- Hector (Carnival Midget) (DunkTank?)
PedSetUniqueModelStatus(116, 1) -- Osbourne (Shop Owner) (TownsPerson)
PedSetUniqueModelStatus(117, 1) -- Chad (Boxing) (Preppy)
PedSetUniqueModelStatus(118, 1) -- Justin (Boxing) (Preppy)
PedSetUniqueModelStatus(119, 1) -- Parker (Boxing) (Preppy)
PedSetUniqueModelStatus(120, 1) -- Maria Theresa (Barber) (Rich Area)
PedSetUniqueModelStatus(121, 1) -- Bob (Generic Wrestler) (Bully)
PedSetUniqueModelStatus(122, 1) -- Fatty (Wrestling) (Nerds)
PedSetUniqueModelStatus(123, 1) -- Chuck (Shop Owner) (TownsPerson)
PedSetUniqueModelStatus(124, 1) -- Ian (Shop Owner) (TownsPerson)
PedSetUniqueModelStatus(125, 1) -- Fenwick (Asylum Patient) (TownsPerson)
PedSetUniqueModelStatus(126, 1) -- Neil (Autoshop Teacher)
PedSetUniqueModelStatus(127, 1) -- Mr Svenson (Mailman)
PedSetUniqueModelStatus(128, 1) -- Denny (Tattooist)
PedSetUniqueModelStatus(129, 1) -- Mr Galloway (Asylum Model) (English Teacher)
PedSetUniqueModelStatus(130, 1) -- Gary (Final BOSS) (Student)
PedSetUniqueModelStatus(131, 1) -- Krakauer (Shop Owner) (TownsPerson)
PedSetUniqueModelStatus(132, 1) -- Mr Moratti (Barber) (Poor Area)
PedSetUniqueModelStatus(133, 1) -- Bif (Boxing) (Preppy)
PedSetUniqueModelStatus(134, 1) -- Petey (student)
PedSetUniqueModelStatus(135, 1) -- Mr Smith (TownsPerson)
PedSetUniqueModelStatus(136, 1) -- Rat
PedSetUniqueModelStatus(137, 1) -- Melody (Little Kid)
PedSetUniqueModelStatus(138, 1) -- Karen (Little Kid)
PedSetUniqueModelStatus(139, 1) -- Gordon (Student)
PedSetUniqueModelStatus(140, 1) -- Brandy (Midget)
PedSetUniqueModelStatus(141, 1) -- Pitbull 1
PedSetUniqueModelStatus(142, 1) -- Lance (Student)
PedSetUniqueModelStatus(143, 1) -- Crystal (Carnival Worker)
PedSetUniqueModelStatus(144, 1) -- Mr Martin (TownsPerson)
PedSetUniqueModelStatus(145, 1) -- Ethan (Bully)
PedSetUniqueModelStatus(146, 1) -- Wade (Bully)
PedSetUniqueModelStatus(147, 1) -- Tom (Bully)
PedSetUniqueModelStatus(148, 1) -- Mr Ramirez (TownsPerson)
PedSetUniqueModelStatus(149, 1) -- Mr Huntingdon (TownsPerson)
PedSetUniqueModelStatus(150, 1) -- Otto (Asylum) (Dropouts)
PedSetUniqueModelStatus(151, 1) -- Mr Wiggins (History Teacher)
PedSetUniqueModelStatus(152, 1) -- Floyd (TownsPerson)
PedSetUniqueModelStatus(153, 1) -- Leon (Asylum) (Dropouts)
PedSetUniqueModelStatus(154, 1) -- Henry (Asylum) (Dropouts)
PedSetUniqueModelStatus(155, 1) -- Fatty (Chocolate) (Nerds)
PedSetUniqueModelStatus(156, 1) -- Stan (Grocery Store Clerk) (TownsPerson)
PedSetUniqueModelStatus(157, 1) -- Handy (Shop Owner) (TownsPerson)
PedSetUniqueModelStatus(158, 1) -- Gregory (Orderly)
PedSetUniqueModelStatus(159, 1) -- Pedro (Halloween) (Little Kid)
PedSetUniqueModelStatus(160, 1) -- Gary (Halloween)
PedSetUniqueModelStatus(161, 1) -- Lucky (Halloween) (Greasers)
PedSetUniqueModelStatus(162, 1) -- Donald (Halloween) (Nerds)
PedSetUniqueModelStatus(163, 1) -- Parker (Halloween) (Preppy)
PedSetUniqueModelStatus(164, 1) -- Casey (Halloween) (Jocks)
PedSetUniqueModelStatus(165, 1) -- Petey (Halloween) (Student)
PedSetUniqueModelStatus(166, 1) -- Angie (Halloween) (Student)
PedSetUniqueModelStatus(167, 1) -- Pinky (Halloween) (Preppy)
PedSetUniqueModelStatus(168, 1) -- Damon (Halloween) (Jocks)
PedSetUniqueModelStatus(169, 1) -- Gordon (Halloween) (Student)
PedSetUniqueModelStatus(170, 1) -- Ivan (Halloween) (Bully)
PedSetUniqueModelStatus(171, 1) -- Trevor (Halloween) (Student)
PedSetUniqueModelStatus(172, 1) -- Bif (Boxing) (Beat up?) (Preppy)
PedSetUniqueModelStatus(173, 1) -- Vance (Halloween) (Greasers)
PedSetUniqueModelStatus(174, 1) -- Thad (Halloween) (Nerds)
PedSetUniqueModelStatus(175, 1) -- Pinky (Winter) (Preppy)
PedSetUniqueModelStatus(176, 1) -- Russell (Beat up) (Bully)
PedSetUniqueModelStatus(177, 1) -- Tad (Winter) (Preppy)
PedSetUniqueModelStatus(178, 1) -- Bryce (Winter) (Preppy)
PedSetUniqueModelStatus(179, 1) -- Justin (Winter) (Preppy)
PedSetUniqueModelStatus(480, 1) -- Angie (Cheerleader) (Student)
PedSetUniqueModelStatus(181, 1) -- Christy (Cheerleader) (Student)
PedSetUniqueModelStatus(182, 1) -- Pinky (Cheerleader) (Preppy)
PedSetUniqueModelStatus(183, 1) -- Mr Buba (TownsPerson)
PedSetUniqueModelStatus(184, 1) -- Mr Gordon (TownsPerson)
PedSetUniqueModelStatus(185, 1) -- Mrs Lisburn (TownsPerson)
PedSetUniqueModelStatus(186, 1) -- Fatty (Dungeon Master?) (Nerds)
PedSetUniqueModelStatus(187, 1) -- Betty (Punk Barber) (TownsPerson)
PedSetUniqueModelStatus(188, 1) -- Lightning (Fighting Midget) (Freakshow)
PedSetUniqueModelStatus(189, 1) -- Zeke (Fighting Midget) (Freakshow)
PedSetUniqueModelStatus(190, 1) -- Alfred (Skeleton Man) (Freakshow)
PedSetUniqueModelStatus(191, 1) -- Paris (Bearded Fat Lady) (Freakshow)
PedSetUniqueModelStatus(192, 1) -- Courtney (Mermaid) (Freakshow)
PedSetUniqueModelStatus(193, 1) -- Delilah (Siamese Twin #2) (Freakshow)
PedSetUniqueModelStatus(194, 1) -- Drew (Painted Man) (Freakshow)
PedSetUniqueModelStatus(195, 1) -- Castillo (Worker) (TownsPerson)
PedSetUniqueModelStatus(196, 1) -- Edgar (Gym) (Dropouts)
PedSetUniqueModelStatus(197, 1) -- Gurney (Gym) (Dropouts)
PedSetUniqueModelStatus(198, 1) -- Jerry (Gym) (Dropouts)
PedSetUniqueModelStatus(199, 1) -- Leon (Gym) (Dropouts)
PedSetUniqueModelStatus(200, 1) -- Hal (Gym) (Greasers)
PedSetUniqueModelStatus(201, 1) -- Norton (Gym) (Greasers)
PedSetUniqueModelStatus(202, 1) -- Peanut (Gym) (Greasers)
PedSetUniqueModelStatus(203, 1) -- Vance (Gym) (Greasers)
PedSetUniqueModelStatus(204, 1) -- Bo (Gym) (Jocks)
PedSetUniqueModelStatus(205, 1) -- Damon (Gym) (Jocks)
PedSetUniqueModelStatus(206, 1) -- Juri (Gym) (Jocks)
PedSetUniqueModelStatus(207, 1) -- Kirby (Gym) (Jocks)
PedSetUniqueModelStatus(208, 1) -- Algernon (Gym) (Nerds)
PedSetUniqueModelStatus(209, 1) -- Bucky (Gym) (Nerds)
PedSetUniqueModelStatus(210, 1) -- Thad (Gym) (Nerds)
PedSetUniqueModelStatus(211, 1) -- Parker (Gym) (Preppy)
PedSetUniqueModelStatus(212, 1) -- Justin (Gym) (Preppy)
PedSetUniqueModelStatus(213, 1) -- Tad (Gym) (Preppy)
PedSetUniqueModelStatus(214, 1) -- Gord (Gym) (Preppy)
PedSetUniqueModelStatus(215, 1) -- Earnest (Not sure) (Nerds)
PedSetUniqueModelStatus(216, 1) -- Ted (Not sure) (Jocks)
PedSetUniqueModelStatus(217, 1) -- Johnny (Not sure) (Greasers)
PedSetUniqueModelStatus(218, 1) -- Darby (Not sure) (Preppy)
PedSetUniqueModelStatus(219, 1) -- Pitbull 2
PedSetUniqueModelStatus(220, 1) -- Pitbull 3
PedSetUniqueModelStatus(221, 1) -- Edna (Makeup) (Cafeteria Cook)
PedSetUniqueModelStatus(222, 1) -- McInnis (Mill Worker)
PedSetUniqueModelStatus(223, 1) -- Johnson (Dock Worker)
PedSetUniqueModelStatus(224, 1) -- Thad (Pajamas) (Nerds)
PedSetUniqueModelStatus(225, 1) -- Sheldon (Pajamas) (Student)
PedSetUniqueModelStatus(226, 1) -- Pedro (Pajamas) (Student)
PedSetUniqueModelStatus(227, 1) -- Ivan (Pajamas) (Student)
PedSetUniqueModelStatus(228, 1) -- Trevor (Pajamas) (Student)
PedSetUniqueModelStatus(229, 1) -- Mr Burton (Disguised) (Gym Teacher)
PedSetUniqueModelStatus(230, 1) -- Mandy (Towel) (Jocks)
PedSetUniqueModelStatus(231, 1) -- Bo (Football) (Jocks)
PedSetUniqueModelStatus(232, 1) -- Casey (Football) (Jocks)
PedSetUniqueModelStatus(233, -1) -- Punching bag
PedSetUniqueModelStatus(234, 1) -- Officer Monson (Cop)
PedSetUniqueModelStatus(235, 1) -- Constantinos (Winter) (Student)
PedSetUniqueModelStatus(236, 1) -- McInnis (Construction Worker)
PedSetUniqueModelStatus(237, 1) -- McInnis (Construction Worker) (Alternate?)
PedSetUniqueModelStatus(238, 1) -- Officer Williams (Cop)
PedSetUniqueModelStatus(239, 1) -- Bryce (Boxing) (Beat up 1) (Preppy)
PedSetUniqueModelStatus(240, 1) -- Bryce (Boxing) (Beat up 2) (Preppy)
PedSetUniqueModelStatus(241, 1) -- Chad (Boxing) (Beat up 1) (Preppy)
PedSetUniqueModelStatus(242, 1) -- Chad (Boxing) (Beat up 2) (Preppy)
PedSetUniqueModelStatus(243, 1) -- Bif (Boxing) (Beat up 2) (Preppy)
PedSetUniqueModelStatus(244, 1) -- Justin (Boxing) (Beat up 1) (Preppy)
PedSetUniqueModelStatus(245, 1) -- Justin (Boxing) (Beat up 2) (Preppy)
PedSetUniqueModelStatus(246, 1) -- Parker (Boxing) (Beat up 1) (Preppy)
PedSetUniqueModelStatus(247, 1) -- Parker (Boxing) (Beat up 2) (Preppy)
PedSetUniqueModelStatus(248, 1) -- UNKNOWN NAME (Geography Teacher)
PedSetUniqueModelStatus(249, 1) -- UNKNOWN NAME (Music Teacher)
PedSetUniqueModelStatus(250, 1) -- UNKNOWN NAME (X-mas Elf 1) (Fake Santa Mission)
PedSetUniqueModelStatus(251, 1) -- UNKNOWN NAME (X-mas Elf 2) (Fake Santa Mission)
PedSetUniqueModelStatus(252, 1) -- Hobo Santa (X-mas) (Rudy)
PedSetUniqueModelStatus(253, 1) -- UNKNOWN NAME (Fake Santa)
PedSetUniqueModelStatus(254, 1) -- UNKNOWN NAME (Fake Santa) (Alternate Model?)
PedSetUniqueModelStatus(255, 1) -- Petey (NutCracker Costume) (Student)
PedSetUniqueModelStatus(256, 1) -- Eunice (Halloween) (Student)
PedSetUniqueModelStatus(257, 1) -- Melody (Flower Costume) (Little Kid)
PedSetUniqueModelStatus(258, 1) -- Pedro (Flower Costume) (Little Kid)
-- Ped Creation Code Start
-- NOTE: The below sections are all commented out except for one and ONLY one may be active at any given time. More then one
-- will result in a script crash.
-- Make sure that whichever section is enabled....you also edit the lower ActionTree section to match the section here.
-- Do the same with the other areas like for the healthbars and radar blips. For those sections the amount of lines have to be the same amount as the
-- ones in these sections and the local declarations must also match too or you will not see your peds in the radar. This allows you to keep an eye on them
-- and they also will follow you wherever you go in the map except for areas that ban either sex from entering an interior....
-- Jocks Clique
-- l_0_3 = PedCreatePoint(12, POINTLIST._BEGGINING, 1) -- Damon
-- l_0_4 = PedCreatePoint(13, POINTLIST._BEGGINING, 2) -- Kirby
-- l_0_5 = PedCreatePoint(14, POINTLIST._BEGGINING, 3) -- Mandy
-- l_0_6 = PedCreatePoint(15, POINTLIST._BEGGINING, 4) -- Dan
-- l_0_7 = PedCreatePoint(16, POINTLIST._BEGGINING, 5) -- Luis
-- l_0_8 = PedCreatePoint(17, POINTLIST._BEGGINING, 6) -- Casey
-- l_0_9 = PedCreatePoint(18, POINTLIST._BEGGINING, 7) -- Bo
-- l_1_0 = PedCreatePoint(19, POINTLIST._BEGGINING, 8) -- Ted
-- l_1_1 = PedCreatePoint(20, POINTLIST._BEGGINING, 9) -- Juri
-- l_1_2 = PedCreatePoint(88, POINTLIST._BEGGINING, 9) -- Mascot
-- Preps Clique
-- l_0_3 = PedCreatePoint(30, POINTLIST._BEGGINING, 1) -- Gord
-- l_0_4 = PedCreatePoint(31, POINTLIST._BEGGINING, 1) -- Tad
-- l_0_5 = PedCreatePoint(32, POINTLIST._BEGGINING, 1) -- Chad
-- l_0_6 = PedCreatePoint(33, POINTLIST._BEGGINING, 1) -- Bif
-- l_0_7 = PedCreatePoint(34, POINTLIST._BEGGINING, 1) -- Justin
-- l_0_8 = PedCreatePoint(35, POINTLIST._BEGGINING, 1) -- Bryce
-- l_0_9 = PedCreatePoint(220, POINTLIST._BEGGINING, 1) -- Dog
-- l_1_0 = PedCreatePoint(37, POINTLIST._BEGGINING, 1) -- Darby BOSS
-- l_1_1 = PedCreatePoint(38, POINTLIST._BEGGINING, 1) -- Pinky
-- l_1_2 = PedCreatePoint(40, POINTLIST._BEGGINING, 1) -- Parker
-- Greasers Clique
-- l_0_3 = PedCreatePoint(21, POINTLIST._BEGGINING, 1) -- Peanut
-- l_0_4 = PedCreatePoint(22, POINTLIST._BEGGINING, 1) -- Hal
-- l_0_5 = PedCreatePoint(23, POINTLIST._BEGGINING, 1) -- Johnny (BOSS)
-- l_0_6 = PedCreatePoint(24, POINTLIST._BEGGINING, 1) -- Lefty
-- l_0_7 = PedCreatePoint(25, POINTLIST._BEGGINING, 1) -- Lola
-- l_0_8 = PedCreatePoint(26, POINTLIST._BEGGINING, 1) -- Lucky
-- l_0_9 = PedCreatePoint(27, POINTLIST._BEGGINING, 1) -- Vance
-- l_1_0 = PedCreatePoint(28, POINTLIST._BEGGINING, 1) -- Ricky
-- l_1_1 = PedCreatePoint(29, POINTLIST._BEGGINING, 1) -- Norton
-- Nerds Clique
-- l_0_3 = PedCreatePoint(27, POINTLIST._BEGGINING, 1) -- Earnest (BOSS)
-- l_0_4 = PedCreatePoint(22, POINTLIST._BEGGINING, 1) -- Fatty
-- l_0_5 = PedCreatePoint(23, POINTLIST._BEGGINING, 1) -- Melvin
-- l_0_6 = PedCreatePoint(24, POINTLIST._BEGGINING, 1) -- Thad
-- l_0_7 = PedCreatePoint(25, POINTLIST._BEGGINING, 1) -- Bucky
-- l_0_8 = PedCreatePoint(26, POINTLIST._BEGGINING, 1) -- Cornelius
-- l_0_9 = PedCreatePoint(21, POINTLIST._BEGGINING, 1) -- Algernon
-- l_1_0 = PedCreatePoint(28, POINTLIST._BEGGINING, 1) -- Donald
-- l_1_1 = PedCreatePoint(29, POINTLIST._BEGGINING, 1) -- Beatrice
-- Bullies Clique
-- l_0_3 = PedCreatePoint(75, POINTLIST._BEGGINING, 1) -- Russell (BOSS)
-- l_0_4 = PedCreatePoint(102, POINTLIST._BEGGINING, 1) -- Troy
-- l_0_5 = PedCreatePoint(99, POINTLIST._BEGGINING, 1) -- Davis
-- l_0_6 = PedCreatePoint(85, POINTLIST._BEGGINING, 1) -- Trent
-- l_0_7 = PedCreatePoint(145, POINTLIST._BEGGINING, 1) -- Ethan
-- l_0_8 = PedCreatePoint(146, POINTLIST._BEGGINING, 1) -- Wade
-- l_0_9 = PedCreatePoint(147, POINTLIST._BEGGINING, 1) -- Tom
-- Students (non clique)
-- l_0_3 = PedCreatePoint(67, POINTLIST._BEGGINING, 1) -- Christy
-- l_0_4 = PedCreatePoint(66, POINTLIST._BEGGINING, 1) -- Sheldon
-- l_0_5 = PedCreatePoint(68, POINTLIST._BEGGINING, 1) -- Gloria
-- l_0_6 = PedCreatePoint(69, POINTLIST._BEGGINING, 1) -- Pedro
-- l_0_7 = PedCreatePoint(70, POINTLIST._BEGGINING, 1) -- Constantinos
-- l_0_8 = PedCreatePoint(71, POINTLIST._BEGGINING, 1) -- Ray
-- l_0_9 = PedCreatePoint(72, POINTLIST._BEGGINING, 1) -- Ivan
-- l_1_0 = PedCreatePoint(73, POINTLIST._BEGGINING, 1) -- Trevor
-- l_1_1 = PedCreatePoint(74, POINTLIST._BEGGINING, 1) -- Eunice
-- Girls!
l_0_3 = PedCreatePoint(67, POINTLIST._BEGGINING, 1) -- Christy
l_0_4 = PedCreatePoint(2, POINTLIST._BEGGINING, 1) -- Zoe
l_0_5 = PedCreatePoint(3, POINTLIST._BEGGINING, 1) -- Beatrice
l_0_6 = PedCreatePoint(14, POINTLIST._BEGGINING, 1) -- Mandy
l_0_7 = PedCreatePoint(25, POINTLIST._BEGGINING, 1) -- Lola
l_0_8 = PedCreatePoint(38, POINTLIST._BEGGINING, 1) -- Pinky
l_0_9 = PedCreatePoint(39, POINTLIST._BEGGINING, 1) -- Angie
l_1_0 = PedCreatePoint(68, POINTLIST._BEGGINING, 1) -- Gloria
l_1_1 = PedCreatePoint(74, POINTLIST._BEGGINING, 1) -- Eunice
l_1_2 = PedCreatePoint(137, POINTLIST._BEGGINING, 1) -- Melody
l_1_3 = PedCreatePoint(138, POINTLIST._BEGGINING, 1) -- Karen
l_1_4 = PedCreatePoint(187, POINTLIST._BEGGINING, 1) -- Betty
-- Teachers & Staff (Authority)
-- l_0_3 = PedCreatePoint(54, POINTLIST._BEGGINING, 1) -- Miss Peabody
-- l_0_4 = PedCreatePoint(55, POINTLIST._BEGGINING, 1) -- Mr Burton
-- l_0_5 = PedCreatePoint(56, POINTLIST._BEGGINING, 1) -- Mr Luntz
-- l_0_6 = PedCreatePoint(57, POINTLIST._BEGGINING, 1) -- Mr Galloway
-- l_0_7 = PedCreatePoint(58, POINTLIST._BEGGINING, 1) -- Edna
-- l_0_8 = PedCreatePoint(59, POINTLIST._BEGGINING, 1) -- Miss Winston
-- l_0_9 = PedCreatePoint(60, POINTLIST._BEGGINING, 1) -- Mrs McRae
-- l_1_0 = PedCreatePoint(61, POINTLIST._BEGGINING, 1) -- Mr Hattrick
-- l_1_1 = PedCreatePoint(62, POINTLIST._BEGGINING, 1) -- Mrs Carvin
-- l_1_2 = PedCreatePoint(63, POINTLIST._BEGGINING, 1) -- Ms Phillips
-- l_1_3 = PedCreatePoint(64, POINTLIST._BEGGINING, 1) -- Mr Slawter
-- l_1_4 = PedCreatePoint(65, POINTLIST._BEGGINING, 1) -- Dr Crabblesnitch
-- Dogs!
-- l_0_3 = PedCreatePoint(49, POINTLIST._BEGGINING, 1) -- Dog
-- l_0_4 = PedCreatePoint(50, POINTLIST._BEGGINING, 2) -- Dog
-- l_0_5 = PedCreatePoint(51, POINTLIST._BEGGINING, 3) -- Dog
-- l_0_6 = PedCreatePoint(52, POINTLIST._BEGGINING, 4) -- Dog
-- l_0_7 = PedCreatePoint(53, POINTLIST._BEGGINING, 5) -- Dog
-- l_0_8 = PedCreatePoint(54, POINTLIST._BEGGINING, 9) -- Dog
-- l_0_9 = PedCreatePoint(55, POINTLIST._BEGGINING, 6) -- Dog
-- l_1_0 = PedCreatePoint(56, POINTLIST._BEGGINING, 7) -- Dog
-- l_1_1 = PedCreatePoint(57, POINTLIST._BEGGINING, 8) -- Dog
-- l_1_2 = PedCreatePoint(58, POINTLIST._BEGGINING, 9) -- Dog
-- l_1_3 = PedCreatePoint(59, POINTLIST._BEGGINING, 10) -- Dog
-- Bodyguard ActionTree Code Start
-- Preps
-- PedSetActionTree(l_0_3, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Gord
-- PedSetActionTree(l_0_4, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Tad
-- PedSetActionTree(l_0_5, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act") -- Chad
-- PedSetActionTree(l_0_6, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Bif
-- PedSetActionTree(l_0_7, "/Global/P_Striker_B", "Act/Anim/P_Striker_B.act") -- Justin
-- PedSetActionTree(l_0_8, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act") -- Bryce
-- PedSetActionTree(l_0_9, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Dog
-- PedSetActionTree(l_1_0, "/Global/BOSS_Darby", "Act/Anim/BOSS_Darby.act") -- Darby BOSS
-- PedSetActionTree(l_1_1, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Pinky
-- PedSetActionTree(l_1_2, "/Global/P_Striker_B", "Act/Anim/P_Striker_B.act") -- Parker
--Greasers
-- PedSetActionTree(l_0_3, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Peanut
-- PedSetActionTree(l_0_4, "/Global/G_Grappler_A", "Act/Anim/G_Grappler_A.act") -- Hal
-- PedSetActionTree(l_0_5, "/Global/G_Johnny", "Act/Anim/G_Johnny.act") -- Johnny (BOSS)
-- PedSetActionTree(l_0_6, "/Global/G_Melee_A", "Act/Anim/G_Melee_A.act") -- Lefty
-- PedSetActionTree(l_0_7, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Lola
-- PedSetActionTree(l_0_8, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Lucky
-- PedSetActionTree(l_0_9, "/Global/G_Melee_A", "Act/Anim/G_Melee_A.act") -- Vance
-- PedSetActionTree(l_1_0, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Ricky
-- PedSetActionTree(l_1_1, "/Global/G_Grappler_A", "Act/Anim/G_Grappler_A.act") -- Norton
-- Nerds
-- PedSetActionTree(l_0_3, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Earnest (BOSS)
-- PedSetActionTree(l_0_4, "/Global/N_Striker_A", "Act/Anim/N_Striker_A.act") -- Fatty
-- PedSetActionTree(l_0_5, "/Global/N_Striker_A", "Act/Anim/N_Striker_A.act") -- Melvin
-- PedSetActionTree(l_0_6, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Thad
-- PedSetActionTree(l_0_7, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Bucky
-- PedSetActionTree(l_0_8, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Cornelius
-- PedSetActionTree(l_0_9, "/Global/N_Striker_B", "Act/Anim/N_Striker_B.act") -- Algernon
-- PedSetActionTree(l_1_0, "/Global/N_Ranged_A", "Act/Anim/N_Ranged_A.act") -- Donald
-- PedSetActionTree(l_1_1, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Beatrice
-- Bullies Clique
-- PedSetActionTree(l_0_3, "/Global/BOSS_Russell", "Act/Anim/Boss_Russell.act") -- Russell (BOSS)
-- PedSetActionTree(l_0_4, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Troy
-- PedSetActionTree(l_0_5, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Davis
-- PedSetActionTree(l_0_6, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Trent
-- PedSetActionTree(l_0_7, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Ethan
-- PedSetActionTree(l_0_8, "/Global/GS_Fat_A", "Act/Anim/GS_Fat_A.act") -- Wade
-- PedSetActionTree(l_0_9, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Tom
-- Students (Non Clique)
-- PedSetActionTree(l_0_3, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Christy
-- PedSetActionTree(l_0_4, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Sheldon
-- PedSetActionTree(l_0_5, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Gloria
-- PedSetActionTree(l_0_6, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Pedro
-- PedSetActionTree(l_0_7, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Constantinos
-- PedSetActionTree(l_0_8, "/Global/GS_Fat_A", "Act/Anim/GS_Fat_A.act") -- Ray
-- PedSetActionTree(l_0_9, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Ivan
-- PedSetActionTree(l_1_0, "/Global/GS_Male_A", "Act/Anim/GS_Male_A.act") -- Trevor
-- PedSetActionTree(l_1_1, "/Global/GS_Fat_A", "Act/Anim/GS_Fat_A.act") -- Eunice
-- Girls!
PedSetActionTree(l_0_3, "/Global/J_Grappler_A", "Act/Anim/J_Grappler_A.act") -- Christy
PedSetActionTree(l_0_4, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act") -- Zoe
PedSetActionTree(l_0_5, "/Global/N_Striker_A", "Act/Anim/N_Striker_A.act") -- Beatrice
PedSetActionTree(l_0_6, "/Global/J_Striker_A", "Act/Anim/J_Striker_A.act") -- Mandy
PedSetActionTree(l_0_7, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act") -- Lola
PedSetActionTree(l_0_8, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Pinky
PedSetActionTree(l_0_9, "/Global/P_Striker_B", "Act/Anim/P_Striker_B.act") -- Angie
PedSetActionTree(l_1_0, "/Global/J_Mascot", "Act/Anim/J_Mascot.act") -- Gloria
PedSetActionTree(l_1_1, "/Global/BOSS_Russell", "Act/Anim/BOSS_Russell.act") -- Eunice
PedSetActionTree(l_1_2, "/Global/G_Melee_A", "Act/Anim/G_Melee_A.act") -- Melody
PedSetActionTree(l_1_3, "/Global/G_Melee_A", "Act/Anim/G_Melee_A.act") -- Karen
PedSetActionTree(l_1_4, "/Global/G_Grappler_A", "Act/Anim/G_Grappler_A.act") -- Betty
-- Teachers & Staff (Authority)
-- PedSetActionTree(l_0_3, "/Global/TE_Female_A", "Act/Anim/TE_Female_A.act") -- Miss Peabody
-- PedSetActionTree(l_0_4, "/Global/Authority", "Act/Anim/Authority.act") -- Mr Burton
-- PedSetActionTree(l_0_5, "/Global/CV_Male_A", "Act/Anim/CV_Male_A.act") -- Mr Luntz
-- PedSetActionTree(l_0_6, "/Global/Authority", "Act/Anim/Authority.act") -- Mr Galloway
-- PedSetActionTree(l_0_7, "/Global/Authority", "Act/Anim/Authority.act") -- Edna
-- PedSetActionTree(l_0_8, "/Global/TE_Female_A", "Act/Anim/TE_Female_A") -- Miss Winston
-- PedSetActionTree(l_0_9, "/Global/TE_Female_A", "Act/Anim/TE_Female_A") -- Mrs McRae
-- PedSetActionTree(l_1_0, "/Global/Authority", "Act/Anim/Authority.act") -- Mr Hattrick
-- PedSetActionTree(l_1_1, "/Global/TE_Female_A", "Act/Anim/TE_Female_A") -- Mrs Carvin
-- PedSetActionTree(l_1_2, "/Global/TE_Female_A", "Act/Anim/TE_Female_A") -- Ms Phillips
-- PedSetActionTree(l_1_3, "/Global/Authority", "Act/Anim/Authority.act") -- Mr Slawter
-- PedSetActionTree(l_1_4, "/Global/Authority", "Act/Anim/Authority.act") -- Dr Crabblesnitch
--Bodyguard ActionNode Code Start
--
-- PedSetActionNode(l_1_0, "/Global/2_B/Empty", "Act/Conv/2_B.act")
-- PedSetActionNode(l_1_0, "/Global/BOSS_Russell/Default_KEY/RisingAttacks/HeavyAttacks/RisingAttacks", "Act/Anim/Boss_Russell.act") PlayerAI
-- PedSetTaskNode(l_1_0, "/Global/AI", "Act/AI/AI_DARBY_2_B.act")
-- PedSetTaskNode(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
ClothingGivePlayerOutfit("Panda")
-- test code start
-- PedSetAITree(gPlayer, "/Global/DarbyAI", "Act/AI/AI_DARBY_2_B.act")
-- PedSetActionTree(gPlayer, "/Global/BOSS_Darby", "Act/Anim/BOSS_Darby.act")
--PedSetMaxHealth(idDarby, 500)
--PedSetHealth(idDarby, 500)
-- PedOverrideStat(gPlayer, 38, 70)
-- PedOverrideStat(gPlayer, 39, 70)
-- PedSetInfiniteSprint(gPlayer, true)
-- test code end
--
-- Player ActionNode Code Start
--
-- Ally Blip Code Start
--
l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
l_2_8 = AddBlipForChar(l_0_4, 6, 2, 2)
l_2_9 = AddBlipForChar(l_0_5, 6, 2, 2)
l_3_0 = AddBlipForChar(l_0_6, 6, 2, 2)
l_3_1 = AddBlipForChar(l_0_7, 6, 2, 2)
l_3_2 = AddBlipForChar(l_0_8, 6, 2, 2)
l_3_3 = AddBlipForChar(l_0_9, 6, 2, 2)
l_3_4 = AddBlipForChar(l_1_0, 6, 2, 2)
l_3_5 = AddBlipForChar(l_1_1, 6, 2, 2)
l_3_6 = AddBlipForChar(l_1_2, 6, 2, 2)
l_3_7 = AddBlipForChar(l_1_3, 6, 2, 2)
l_3_8 = AddBlipForChar(l_1_4, 6, 2, 2)
--
-- Infinite Sprint Code Start for Allies
--
PedSetInfiniteSprint(l_0_3, true)
PedSetInfiniteSprint(l_0_4, true)
PedSetInfiniteSprint(l_0_5, true)
PedSetInfiniteSprint(l_0_6, true)
PedSetInfiniteSprint(l_0_7, true)
PedSetInfiniteSprint(l_0_8, true)
PedSetInfiniteSprint(l_0_9, true)
PedSetInfiniteSprint(l_1_0, true)
PedSetInfiniteSprint(l_1_1, true)
PedSetInfiniteSprint(l_1_2, true)
PedSetInfiniteSprint(l_1_3, true)
PedSetInfiniteSprint(l_1_4, true)
--
-- Ped Recruit Code Start
--
-- This section defines the bodyguards. Instead of the model ids..the locals for each bodyguard are instead used.
-- it goes like this: for the first line gplayer (jimmy) is linked to l_0_3 which is christy as defined up above.
-- then the next line has l_0_3 linked to Zoe. This is the only way to have multiple bodyguards in bully and the only issue is that
-- the one linked to jimmy will attack first if jimmy is attacked....and if they are attacked then the one linked to them will
-- attack..and so on down the list. Think of this as a domino effect or chain reaction.
PedRecruitAlly(gPlayer, l_0_3)
PedRecruitAlly(l_0_3, l_0_4)
PedRecruitAlly(l_0_4, l_0_5)
PedRecruitAlly(l_0_5, l_0_6)
PedRecruitAlly(l_0_6, l_0_7)
PedRecruitAlly(l_0_7, l_0_8)
PedRecruitAlly(l_0_8, l_0_9)
PedRecruitAlly(l_0_9, l_1_0)
PedRecruitAlly(l_1_0, l_1_1)
PedRecruitAlly(l_1_1, l_1_2)
PedRecruitAlly(l_1_2, l_1_3)
PedRecruitAlly(l_1_3, l_1_4)
--
-- This is the Ped Guard Ped code section
-- This Section allows all bodyguards to attack anyone attacking the player and this feature is beta for now
-- It is used like this: PedGuardPed(Ped ID, Ped ID) First ped id is the ped that does the guarding. Second ped id is the ped you want them to guard
-- Code start
PedGuardPed(l_0_3, gPlayer)
PedGuardPed(l_0_4, gPlayer)
PedGuardPed(l_0_5, gPlayer)
PedGuardPed(l_0_6, gPlayer)
PedGuardPed(l_0_7, gPlayer)
PedGuardPed(l_0_8, gPlayer)
PedGuardPed(l_0_9, gPlayer)
PedGuardPed(l_1_0, gPlayer)
PedGuardPed(l_1_1, gPlayer)
PedGuardPed(l_1_2, gPlayer)
PedGuardPed(l_1_3, gPlayer)
-- Code end
--
-- Ped Healthbar Code Start
--
-- This section is for the ped healthbars and is buggy. ATM only two can be shown on the screen at any time...and as of this
-- mod release...cannot be removed from the screen either. So I left this code intact and will update this mod when I figure it
-- out.PedSetTaskNode(l_0_8, "/Global/AI", "Act/AI/AI.act")
PedShowHealthBar(l_0_3, true, "N_Christy", false)
PedShowHealthBar(l_0_4, true, "N_Zoe", false)
PedShowHealthBar(l_0_5, true, "N_Beatrice", false)
PedShowHealthBar(l_0_6, true, "N_Mandy", false)
PedShowHealthBar(l_0_7, true, "N_Lola", false)
PedShowHealthBar(l_0_8, true, "N_Pinky", false)
PedShowHealthBar(l_0_9, true, "N_Angie", false)
PedShowHealthBar(l_1_0, true, "N_Gloria", false)
PedShowHealthBar(l_1_1, true, "N_Eunice", false)
PedShowHealthBar(l_1_2, true, "N_Melody", false)
PedShowHealthBar(l_1_3, true, "N_Karen", false)
PedShowHealthBar(l_1_4, true, "N_Betty", false)
PedSetAllyAutoEngage(l_0_3, true)
PedSetAllyAutoEngage(l_0_4, true)
PedSetAllyAutoEngage(l_0_5, true)
PedSetAllyAutoEngage(l_0_6, true)
PedSetAllyAutoEngage(l_0_7, true)
PedSetAllyAutoEngage(l_0_8, true)
PedSetAllyAutoEngage(l_0_9, true)
PedSetAllyAutoEngage(l_1_0, true)
PedSetAllyAutoEngage(l_1_1, true)
PedSetAllyAutoEngage(l_1_2, true)
PedSetAllyAutoEngage(l_1_3, true)
PedSetAllyAutoEngage(l_1_4, true)
PedSetHealthBarQuiet(true)
-- Vehicle Locals Start
-- l_2_0 = 202 -- Truck
-- l_2_1 = -10.12 -- Truck
-- l_2_2 = 5.6007623 -- Truck
-- l_2_3 = 195 -- domestic
-- l_2_4 = -10.12 -- domestic
-- l_2_5 = 5.6007623 -- domestic
-- l_2_6 = 179 -- policecar
-- l_2_7 = -10.12 -- policecar
-- l_2_8 = 5.6007623 -- policecar
-- -- vehicle spawns start
-- VehicleCreateXYZ(297, l_2_0, l_2_1, l_2_2)
-- VehicleCreateXYZ(296, l_2_3, l_2_4, l_2_5)
-- VehicleCreateXYZ(295, 179, -10.12, 5.6007623)
-- VehicleCreateXYZ(294, 174, -10.12, 5.6007623)
-- VehicleCreateXYZ(293, 192, 5.2368, 5.4483881)
-- VehicleCreateXYZ(292, 197, 5.2368, 5.4483881)
-- VehicleCreateXYZ(291, 201, 5.2368, 5.4483881)
-- VehicleCreateXYZ(290, 205, 5.2368, 5.4483881)
-- AddBlipForCar(297, 0, 4)
-- Vehicls spawns end
end
--
-- DO NOT EDIT the sections under this line unless you know what you are doing!
--
F_MissionSetup = function()
LoadAnimationGroup("Russell") -- Russell Animation Group
-- Fighting Style Animation Groups Start
LoadAnimationGroup("P_Striker") -- Preps P_Striker Animation Group
LoadAnimationGroup("Boxing") -- Boxing Animation Group
LoadAnimationGroup("Straf_Prep") -- Prep Straf Animation Group
LoadAnimationGroup("STRAF_WREST") -- Wrestling Straf Animation Group
LoadAnimationGroup("B_Striker") -- Bully Fighting Style Animation Group (B_Striker)
LoadAnimationGroup("TE_FEMALE") -- Female Fighting Style Animation Group (adults)
LoadAnimationGroup("DO_Striker") -- Dropouts Fighting Style Animation Group (striker)
LoadAnimationGroup("DO_StrikeCombo") -- Dropouts Fighting Style Animation Group (striker combo)
LoadAnimationGroup("F_Nerds") -- Nerds Fighting Style Animation Group (straf?)
LoadAnimationGroup("N_Striker_B") -- Nerds Fighting Style Animation Group (striker)
LoadAnimationGroup("NPC_Adult") -- Adult Fighting Style Animation Group
LoadAnimationGroup("G_Johnny") -- Johnny BOSS Style Animation Group
-- Straf Animation Groups Start
LoadAnimationGroup("F_Girls") -- Girls Straf Style Animation Group
LoadAnimationGroup("F_Douts") -- Dropouts Straf Style Animation Group
LoadAnimationGroup("F_Greas") -- Greasers Straf Animation Group
LoadAnimationGroup("LE_ORDERLY") -- Asylum Orderly Fighting Style Animation Group
LoadAnimationGroup("F_CRAZY") -- Asylum Crazy Fighting Style Animation Group
LoadAnimationGroup("F_JOCKS") -- Jocks Straf Animation Group
LoadAnimationGroup("SNERD_I") -- Nerd Animation Group (fighting?)
LoadAnimationGroup("SNERD_S") -- Nerd Animation Group (fighting?)
-- MISC Animation Groups Start
LoadAnimationGroup("Halloween") -- Animation Group for the Halloween Flags and props
LoadAnimationGroup("F_Adult") -- Adult Straf Animation Group
LoadAnimationGroup("LE_Orderly") -- Orderly Animation Group (authority)
LoadAnimationGroup("F_Preps") -- Preps Straf Animation Group
LoadAnimationGroup("G_Grappler") -- Greasers grappler Animation Group (fighting)
LoadAnimationGroup("NPC_Mascot") -- Mascot Straf Animation Group
LoadAnimationGroup("IDLE_JOCK_A") -- Jock Idle Animation Group
LoadAnimationGroup("Earnest") -- Earnest Fighting Style (straf?) Animation Group
LoadAnimationGroup("G_Grappler") -- Greasers Fighting Style Animation Group (straf) (grappler)
LoadAnimationGroup("G_Striker") -- Greasers Fighting Style Animation Group (straf) (striker)
LoadAnimationGroup("Nemesis") -- Gary BOSS Fighting Style Animation Group
LoadAnimationGroup("N_STRIKER_B") -- Nerds Fighting Style Animation Group (striker)
LoadAnimationGroup("Straf_Wrest") -- Wrestling Straf Animation Group
LoadAnimationGroup("J_Grappler") -- Jocks Fighting Style Animation Group (straf) (grappler)
LoadAnimationGroup("NPC_Principal") -- Principal Fighting Style? Straf? Animation Group
LoadAnimationGroup("Authority") -- Authority Fighting Style Straf Animation Group
LoadAnimationGroup("C_Wrestling") -- Wrestling Straf Animation Group
-- SetFactionRespect(1, 0)
-- SetFactionRespect(2, 0)
-- SetFactionRespect(3, 0)
-- SetFactionRespect(4, 0)
-- SetFactionRespect(5, 0)
-- SetFactionRespect(6, 0)
-- SetFactionRespect(7, 0)
-- SetFactionRespect(8, 0)
-- SetFactionRespect(9, 0)
-- SetFactionRespect(10, 0)
-- SetFactionRespect(11, 0)
-- PedSetTypeToTypeAttitude(1, 1, 0)
-- PedSetTypeToTypeAttitude(2, 2, 0)
-- PedSetTypeToTypeAttitude(3, 3, 0)
-- PedSetTypeToTypeAttitude(4, 4, 0)
-- PedSetTypeToTypeAttitude(5, 5, 0)
-- PedSetTypeToTypeAttitude(6, 6, 0)
-- PedSetTypeToTypeAttitude(7, 7, 0)
-- PedSetTypeToTypeAttitude(8, 8, 0)
-- PedSetTypeToTypeAttitude(9, 9, 0)
-- PedSetTypeToTypeAttitude(10, 10, 0)
-- PedSetTypeToTypeAttitude(11, 11, 0)
-- PedSetGlobalAttitude_Rumble(true)
-- Vehicle Owner Start
--VehicleSetOwner(297, gPlayer)
--VehicleSetOwner(296, gPlayer)
--VehicleSetOwner(295, gPlayer)
--VehicleSetOwner(294, gPlayer)
--VehicleSetOwner(293, gPlayer)
--VehicleSetOwner(292, gPlayer)
--VehicleSetOwner(291, gPlayer)
--VehicleSetOwner(290, gPlayer)
-- Vehicle Owner End
-- Animation Loading End --
--Stat
-- GameSetPedStat(gPlayer, 38, 30)
-- GameSetPedStat(gPlayer, 11, 80)
-- PedSetActionTree(gPlayer, "/Global/G_Johnny", "Act/Anim/G_Johnny.act")
-- PedSetAIButes("Boxing")
-- PedSetFaction(gPlayer, 3) -- Female Teachers
-- PedSetFaction(gPlayer, 8) -- Female Teachers
-- PedSetFaction(gPlayer, 9) -- Townsperson
-- PedSetFaction(gPlayer, 10) -- Townsperson
-- PedSetFaction(gPlayer, 11) -- Townsperson
-- PedSetFaction(gPlayer, 7) -- Townsperson
-- PedSetFlag(gPlayer, 113, true)
-- AI Atributes Load --
-- PedSetAIButes("Russell") -- This sets the AI Attributes to be used. Currently the only known ones are: Boxing, Default, 5_B, 3_B, Russell, 1_09
-- PedSetAIButes("Russell")
-- LoadActionTree("Act/Anim/J_Grappler_A.act")
-- LoadActionTree("Act/Anim/LE_Orderly_A.act") -- This loads a actiontree into active memory
PlayerSetControl(1)
CameraFollowPed(gPlayer)
ClockSet(9, 30)
ClockSetTickRate(0.0060000000521541)
LaunchScript("SObjTest.lua")
-- collectgarbage()
end
F_UpdateGlobalHatred = function()
--PedSetTypeToTypeAttitude(4, 1, 0)
--PedSetTypeToTypeAttitude(2, 1, 0)
--PedSetTypeToTypeAttitude(5, 1, 0)
--PedSetTypeToTypeAttitude(1, 13, 1)
--PedSetTypeToTypeAttitude(1, 4, 0)
--PedSetTypeToTypeAttitude(2, 4, 0)
--PedSetTypeToTypeAttitude(5, 4, 0)
--PedSetTypeToTypeAttitude(4, 13, 1)
--PedSetTypeToTypeAttitude(1, 2, 0)
--PedSetTypeToTypeAttitude(4, 2, 0)
--PedSetTypeToTypeAttitude(5, 2, 0)
--PedSetTypeToTypeAttitude(2, 13, 1)
--PedSetTypeToTypeAttitude(1, 5, 0)
--PedSetTypeToTypeAttitude(2, 5, 0)
--PedSetTypeToTypeAttitude(4, 5, 0)
--PedSetTypeToTypeAttitude(5, 13, 1)
-- extra stuff
PedSetTypeToTypeAttitude(1, 1, 0)
PedSetTypeToTypeAttitude(2, 1, 0)
PedSetTypeToTypeAttitude(3, 1, 0)
PedSetTypeToTypeAttitude(4, 1, 0)
PedSetTypeToTypeAttitude(5, 1, 0)
PedSetTypeToTypeAttitude(6, 1, 0)
PedSetTypeToTypeAttitude(7, 1, 0)
PedSetTypeToTypeAttitude(8, 1, 0)
PedSetTypeToTypeAttitude(9, 1, 0)
PedSetTypeToTypeAttitude(10, 1, 0)
PedSetTypeToTypeAttitude(11, 1, 0)
PedSetTypeToTypeAttitude(1, 2, 0)
PedSetTypeToTypeAttitude(2, 2, 0)
PedSetTypeToTypeAttitude(3, 2, 0)
PedSetTypeToTypeAttitude(4, 2, 0)
PedSetTypeToTypeAttitude(5, 2, 0)
PedSetTypeToTypeAttitude(6, 2, 0)
PedSetTypeToTypeAttitude(7, 2, 0)
PedSetTypeToTypeAttitude(8, 2, 0)
PedSetTypeToTypeAttitude(9, 2, 0)
PedSetTypeToTypeAttitude(10, 2, 0)
PedSetTypeToTypeAttitude(11, 2, 0)
PedSetTypeToTypeAttitude(1, 3, 0)
PedSetTypeToTypeAttitude(2, 3, 0)
PedSetTypeToTypeAttitude(3, 3, 0)
PedSetTypeToTypeAttitude(4, 3, 0)
PedSetTypeToTypeAttitude(5, 3, 0)
PedSetTypeToTypeAttitude(6, 3, 0)
PedSetTypeToTypeAttitude(7, 3, 0)
PedSetTypeToTypeAttitude(8, 3, 0)
PedSetTypeToTypeAttitude(9, 3, 0)
PedSetTypeToTypeAttitude(10, 3, 0)
PedSetTypeToTypeAttitude(11, 3, 0)
PedSetTypeToTypeAttitude(1, 4, 0)
PedSetTypeToTypeAttitude(2, 4, 0)
PedSetTypeToTypeAttitude(3, 4, 0)
PedSetTypeToTypeAttitude(4, 4, 0)
PedSetTypeToTypeAttitude(5, 4, 0)
PedSetTypeToTypeAttitude(6, 4, 0)
PedSetTypeToTypeAttitude(7, 4, 0)
PedSetTypeToTypeAttitude(8, 4, 0)
PedSetTypeToTypeAttitude(9, 4, 0)
PedSetTypeToTypeAttitude(10, 4, 0)
PedSetTypeToTypeAttitude(11, 4, 0)
PedSetTypeToTypeAttitude(1, 5, 0)
PedSetTypeToTypeAttitude(2, 5, 0)
PedSetTypeToTypeAttitude(3, 5, 0)
PedSetTypeToTypeAttitude(4, 5, 0)
PedSetTypeToTypeAttitude(5, 5, 0)
PedSetTypeToTypeAttitude(6, 5, 0)
PedSetTypeToTypeAttitude(7, 5, 0)
PedSetTypeToTypeAttitude(8, 5, 0)
PedSetTypeToTypeAttitude(9, 5, 0)
PedSetTypeToTypeAttitude(10, 5, 0)
PedSetTypeToTypeAttitude(11, 5, 0)
PedSetTypeToTypeAttitude(1, 6, 0)
PedSetTypeToTypeAttitude(2, 6, 0)
PedSetTypeToTypeAttitude(3, 6, 0)
PedSetTypeToTypeAttitude(4, 6, 0)
PedSetTypeToTypeAttitude(5, 6, 0)
PedSetTypeToTypeAttitude(6, 6, 0)
PedSetTypeToTypeAttitude(7, 6, 0)
PedSetTypeToTypeAttitude(8, 6, 0)
PedSetTypeToTypeAttitude(9, 6, 0)
PedSetTypeToTypeAttitude(10, 6, 0)
PedSetTypeToTypeAttitude(11, 6, 0)
PedSetTypeToTypeAttitude(1, 7, 0)
PedSetTypeToTypeAttitude(2, 7, 0)
PedSetTypeToTypeAttitude(3, 7, 0)
PedSetTypeToTypeAttitude(4, 7, 0)
PedSetTypeToTypeAttitude(5, 7, 0)
PedSetTypeToTypeAttitude(6, 7, 0)
PedSetTypeToTypeAttitude(7, 7, 0)
PedSetTypeToTypeAttitude(8, 7, 0)
PedSetTypeToTypeAttitude(9, 7, 0)
PedSetTypeToTypeAttitude(10, 7, 0)
PedSetTypeToTypeAttitude(11, 7, 0)
PedSetTypeToTypeAttitude(1, 8, 0)
PedSetTypeToTypeAttitude(2, 8, 0)
PedSetTypeToTypeAttitude(3, 8, 0)
PedSetTypeToTypeAttitude(4, 8, 0)
PedSetTypeToTypeAttitude(5, 8, 0)
PedSetTypeToTypeAttitude(6, 8, 0)
PedSetTypeToTypeAttitude(7, 8, 0)
PedSetTypeToTypeAttitude(8, 8, 0)
PedSetTypeToTypeAttitude(9, 8, 0)
PedSetTypeToTypeAttitude(10, 8, 0)
PedSetTypeToTypeAttitude(11, 8, 0)
PedSetTypeToTypeAttitude(1, 9, 0)
PedSetTypeToTypeAttitude(2, 9, 0)
PedSetTypeToTypeAttitude(3, 9, 0)
PedSetTypeToTypeAttitude(4, 9, 0)
PedSetTypeToTypeAttitude(5, 9, 0)
PedSetTypeToTypeAttitude(6, 9, 0)
PedSetTypeToTypeAttitude(7, 9, 0)
PedSetTypeToTypeAttitude(8, 9, 0)
PedSetTypeToTypeAttitude(9, 9, 0)
PedSetTypeToTypeAttitude(10, 9, 0)
PedSetTypeToTypeAttitude(11, 9, 0)
PedSetTypeToTypeAttitude(1, 10, 0)
PedSetTypeToTypeAttitude(2, 10, 0)
PedSetTypeToTypeAttitude(3, 10, 0)
PedSetTypeToTypeAttitude(4, 10, 0)
PedSetTypeToTypeAttitude(5, 10, 0)
PedSetTypeToTypeAttitude(6, 10, 0)
PedSetTypeToTypeAttitude(7, 10, 0)
PedSetTypeToTypeAttitude(8, 10, 0)
PedSetTypeToTypeAttitude(9, 10, 0)
PedSetTypeToTypeAttitude(10, 10, 0)
PedSetTypeToTypeAttitude(11, 10, 0)
PedSetTypeToTypeAttitude(1, 11, 0)
PedSetTypeToTypeAttitude(2, 11, 0)
PedSetTypeToTypeAttitude(3, 11, 0)
PedSetTypeToTypeAttitude(4, 11, 0)
PedSetTypeToTypeAttitude(5, 11, 0)
PedSetTypeToTypeAttitude(6, 11, 0)
PedSetTypeToTypeAttitude(7, 11, 0)
PedSetTypeToTypeAttitude(8, 11, 0)
PedSetTypeToTypeAttitude(9, 11, 0)
PedSetTypeToTypeAttitude(10, 11, 0)
PedSetTypeToTypeAttitude(11, 11, 0)
PedSetTypeToTypeAttitude(1, 12, 0)
PedSetTypeToTypeAttitude(2, 12, 0)
PedSetTypeToTypeAttitude(3, 12, 0)
PedSetTypeToTypeAttitude(4, 12, 0)
PedSetTypeToTypeAttitude(5, 12, 0)
PedSetTypeToTypeAttitude(6, 12, 0)
PedSetTypeToTypeAttitude(7, 12, 0)
PedSetTypeToTypeAttitude(8, 12, 0)
PedSetTypeToTypeAttitude(9, 12, 0)
PedSetTypeToTypeAttitude(10, 12, 0)
PedSetTypeToTypeAttitude(11, 12, 0)
PedSetTypeToTypeAttitude(1, 13, 0)
PedSetTypeToTypeAttitude(2, 13, 0)
PedSetTypeToTypeAttitude(3, 13, 0)
PedSetTypeToTypeAttitude(4, 13, 0)
PedSetTypeToTypeAttitude(5, 13, 0)
PedSetTypeToTypeAttitude(6, 13, 0)
PedSetTypeToTypeAttitude(7, 13, 0)
PedSetTypeToTypeAttitude(8, 13, 0)
PedSetTypeToTypeAttitude(9, 13, 0)
PedSetTypeToTypeAttitude(10, 13, 0)
PedSetTypeToTypeAttitude(11, 13, 0)
-- Faction respect code start
SetFactionRespect(1, 100)
SetFactionRespect(2, 100)
SetFactionRespect(3, 100)
SetFactionRespect(4, 100)
SetFactionRespect(5, 100)
SetFactionRespect(6, 100)
SetFactionRespect(7, 100)
SetFactionRespect(8, 100)
SetFactionRespect(9, 100)
SetFactionRespect(10, 100)
SetFactionRespect(11, 100)
-- DisablePOI(true, true)
AreaSetPopulationSexGeneration(true, true)
AreaOverridePopulation(96, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8)
--AreaClearAllPeds()
PedSetGlobalAttitude_Rumble(true)
end
-- Start Mission Cleanup --
MissionCleanup = function()
-- Unload Animation Group(s) --
UnLoadAnimationGroup("Russell") -- Russell Animation Group
-- Fighting Style Animation Groups Start
UnLoadAnimationGroup("P_Striker") -- Preps P_Striker Animation Group
UnLoadAnimationGroup("Boxing") -- Boxing Animation Group
UnLoadAnimationGroup("Straf_Prep") -- Prep Straf Animation Group
UnLoadAnimationGroup("STRAF_WREST") -- Wrestling Straf Animation Group
UnLoadAnimationGroup("B_Striker") -- Bully Fighting Style Animation Group (B_Striker)
UnLoadAnimationGroup("TE_FEMALE") -- Female Fighting Style Animation Group (adults)
UnLoadAnimationGroup("DO_Striker") -- Dropouts Fighting Style Animation Group (striker)
UnLoadAnimationGroup("DO_StrikeCombo") -- Dropouts Fighting Style Animation Group (striker combo)
UnLoadAnimationGroup("F_Nerds") -- Nerds Fighting Style Animation Group (straf?)
UnLoadAnimationGroup("N_Striker_B") -- Nerds Fighting Style Animation Group (striker)
UnLoadAnimationGroup("NPC_Adult") -- Adult Fighting Style Animation Group
UnLoadAnimationGroup("G_Johnny") -- Johnny BOSS Style Animation Group
-- Straf Animation Groups Start
UnLoadAnimationGroup("F_Girls") -- Girls Straf Style Animation Group
UnLoadAnimationGroup("F_Douts") -- Dropouts Straf Style Animation Group
UnLoadAnimationGroup("F_Greas") -- Greasers Straf Animation Group
UnLoadAnimationGroup("LE_ORDERLY") -- Asylum Orderly Fighting Style Animation Group
UnLoadAnimationGroup("F_CRAZY") -- Asylum Crazy Fighting Style Animation Group
UnLoadAnimationGroup("F_JOCKS") -- Jocks Straf Animation Group
UnLoadAnimationGroup("SNERD_I") -- Nerd Animation Group (fighting?)
UnLoadAnimationGroup("SNERD_S") -- Nerd Animation Group (fighting?)
-- MISC Animation Groups Start
UnLoadAnimationGroup("Halloween") -- Animation Group for the Halloween Flags and props
UnLoadAnimationGroup("F_Adult") -- Adult Straf Animation Group
UnLoadAnimationGroup("LE_Orderly") -- Orderly Animation Group (authority)
UnLoadAnimationGroup("F_Preps") -- Preps Straf Animation Group
UnLoadAnimationGroup("G_Grappler") -- Greasers grappler Animation Group (fighting)
UnLoadAnimationGroup("NPC_Mascot") -- Mascot Straf Animation Group
UnLoadAnimationGroup("IDLE_JOCK_A") -- Jock Idle Animation Group
UnLoadAnimationGroup("Earnest") -- Earnest Fighting Style (straf?) Animation Group
UnLoadAnimationGroup("G_Grappler") -- Greasers Fighting Style Animation Group (straf) (grappler)
UnLoadAnimationGroup("G_Striker") -- Greasers Fighting Style Animation Group (straf) (striker)
UnLoadAnimationGroup("Nemesis") -- Gary BOSS Fighting Style Animation Group
UnLoadAnimationGroup("N_STRIKER_B") -- Nerds Fighting Style Animation Group (striker)
UnLoadAnimationGroup("Straf_Wrest") -- Wrestling Straf Animation Group
UnLoadAnimationGroup("J_Grappler") -- Jocks Fighting Style Animation Group (straf) (grappler)
UnLoadAnimationGroup("NPC_Principal") -- Principal Fighting Style? Straf? Animation Group
UnLoadAnimationGroup("Authority") -- Authority Fighting Style Straf Animation Group
UnLoadAnimationGroup("C_Wrestling") -- Wrestling Straf Animation Group
-- Animation Loading End --
ClearTextQueue() -- Clears all queued text in active memory
EnablePOI() -- Enables the POI Interface
gMissionRunning = false -- Terminates Mission Script
shared.gMissionEventFunction = nil -- This is for shared events
WeatherRelease() -- Releases the Weather Settings
PlayerSetControl(1) -- Sets Controller to be used for player
PlayerSetPunishmentPoints(0) -- Sets Punishment Points.
end
main = function() -- Function Call
F_MissionSetup() -- Mission Setup Function
F_UpdateGlobalHatred() -- Sets everyone to hate eachother and fight.
gMissionRunning = true -- This tells the game that this mission is running.
while gMissionRunning do -- This instructs bully to execute further tasks while the mission is running.
UpdateTextQueue() -- Updates the state of text stored in active memory
Wait(0) --Waits
end -- End Statement
end
Modify message
Report to moderator Issue a warning because of this message 60.48.33.134 (?)
[/noae]