Bully-Board
Bully Modding Section => Modding Questions/Help => Topic started by: RBS ID on March 17, 2022, 09:52:41 AM
-
What are these functions & how to use it?
Does someone know the stimulus ids?
Found these in decompiled R* Bully .lur scripts.
PedAddBroadcastStimulus(number) -- Can be 2 argument, PedAddBroadcastStimulus(number, number)
- PedAddBroadcastStimulus(16)
- PedAddBroadcastStimulus(59, shared.gSchoolFAlarmTime/1000)
PedCreateStimulus(ped1, ped2, number)
- PedCreateStimulus(gPlayer, l_27_0, 65) -- l_27_0 = ped
PedHasGeneratedStimulusOfType(ped, number)
- local tempStimTarget, tempStimBool = PedHasGeneratedStimulusOfType(gPlayer, 49)
PedOverrideSocialResponseToStimulus(ped, number, number)
- PedOverrideSocialResponseToStimulus(pedRussell.id, 0, 10)
PedRemoveBroadcastStimulus(number)
- PedRemoveBroadcastStimulus(16)
PedRemoveStimulus(ped, number)
- PedRemoveStimulus(gPlayer, 27)
-
Stimulus ID
Last Edit: 07/06/2019
0 Look at Me I
1 Vandalism - 200 pts
2 Vandalism - 100 pts
3 Flee (Buggy)
4 Violence - 300 pts
5 Find Crime Spot or Ped
6 Look at Me II
7 Authority KO - 300 pts
8 Tagging - 200 pts
9 Impudence - 300 pts
10 Scolded by Prefect
11 Find Crime Spot or Ped
12 Impudence - 100 pts
17 Pulling Alarm - 200 pts
20 Theft (Buggy) - 200 pts
21 Insult Target
22 Greet Me I
23 Greet Me II
27 Vandalism - 200 pts
29 Flee
30 Go to Interior (broadcasted to everyone during rainstorm)
36 Kick Me Task
37 Using Prank - 100 pts
41 Prefect Checking Condition
46 Lock Picking - 100 pts
47 Watch Something
55 Move & Harass (similar to PedSetFlag(PED, 82, true))
60 Violence - 300 pts
61 Bullying Authority - 300 pts
65 Greet (Take Picture)
66 Truancy - 10 pts
67 Violating Curfew - 10 pts
68 Trespassing - 10 pts
69 Break and Enter - 200 pts
70 Shocked I
71 Shocked II
72 Theft - 200 pts
73 Scared Reaction
74 Impudence - 100 pts
77 Obstructing Authority - 100 pts
78 Misconduct - 100 pts
79 No Helmet - 100 pts
80 Freeze (the most important stimulus of all the damn list)