~ubuntu-branches/ubuntu/precise/egoboo-data/precise

« back to all changes in this revision

Viewing changes to modules/abyss1.mod/objects/choco.obj/script.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-04-25 10:20:11 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100425102011-1aosouybjkexdg9v
Tags: 1:2.7.7-1
* New Upstream Release
* Switch to debhelper

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//-----------------------------------------------------------------------------
 
2
//Footstep sound
 
3
IfHitGround
 
4
  tmpargument = 1
 
5
  PlaySound
 
6
 
 
7
//----------------------------------------------------------------------------
 
8
// Undead are sustained by magic
 
9
IfSpawned
 
10
  EnchantTarget // target is self...
 
11
 
 
12
//------------------------------------------------------------------------------
 
13
IfTimeOut
 
14
  tmpx = rand & 256 + selfx - 128
 
15
  tmpy = rand & 256 + selfy - 128
 
16
  ClearWaypoints
 
17
  AddWaypoint
 
18
  tmpargument = 50
 
19
  SetTime
 
20
 
 
21
//------------------------------------------------------------------------------
 
22
IfSpawned
 
23
  JoinNullTeam  // For rebirth...
 
24
 
 
25
//What to do if killed?
 
26
IfKilled
 
27
  JoinGoodTeam  // For rebirth...
 
28
 
 
29
  //Sound and message
 
30
  tmpargument = 5
 
31
  tmpdistance = rand & 2047 + 10000
 
32
  PlaySound
 
33
  tmpargument = 0
 
34
  SendMessageNear
 
35
 
 
36
  // Drop goodies
 
37
  tmpargument = 65535
 
38
  DropMoney
 
39
 
 
40
  //Sound
 
41
  tmpargument = 0
 
42
  PlaySound
 
43
 
 
44
  // Make the character body
 
45
  tmpargument = 50
 
46
  SetBumpHeight
 
47
  tmpargument = 43
 
48
  SetBumpSize
 
49
 
 
50
 
 
51
//------------------------------------------------------------------------------
 
52
//Bone crush sound
 
53
IfAttacked
 
54
  tmpargument = 0
 
55
  PlaySound
 
56
 
 
57
 
 
58
//------------------------------------------------------------------------------
 
59
End
 
60
//------------------------------------------------------------------------------