-
Notifications
You must be signed in to change notification settings - Fork 17
/
technical.txt
39 lines (31 loc) · 1.63 KB
/
technical.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
List of Triggers
Non-Element Triggers:
"START" When the PC enters a new scene
"STARTCOMBAT" When combat begins
"ENDCOMBAT" When combat ends
"COMBATLOOP" Called during each iteration of the combat loop; guaranteed to be called before combat ends
"COMBATROUND" At the end of each combat round
"HALFMINUTE" Sent out every 30 seconds during exploration; not sent at all during combat
"UPDATE" When the status of any plot changes
"EXIT" When the PC is about to leave a scene
"PCMOVE" When the party position is updated
"FORCE_EXIT" End a combat mission immediately*
With-Element Triggers:
"ACTIVATE" When a combatant is activated
"ACTIVATETEAM" When a team is activated in combat
"BUMP" When a bumpable is bumped
"DEFEAT" When a faction is defeated in a mission
"FAINT" When an actor is non-operational at the end of combat
"ENTER" When a scene entered or reloaded from disk
"ENTER" When a scene.script_room rect is entered by a party member
"GET" When an item is picked up
"NEXT" When an element is ready to be used again; for instance, when consolidation is complete and the PC can
start the next WorldMapWar turn.
"WIN" When a subplot is won*
"SEMIVICTORIOUS" When a subplot is sorta won, kinda. Use this trigger if it makes sense in context.*
"LOSE" When a subplot is lost*
"END" When a subplot is ended*
Method name:
t_[Non-Element Trigger], i.e. t_STARTCOMBAT(self,camp)
[Element ID]_[With-Element Trigger], i.e. DOOR_BUMP(self,camp)
*Manual trigger- may be set by the plot using it, but doesn't get set automatically.