~ubuntu-branches/ubuntu/saucy/egoboo-data/saucy

« back to all changes in this revision

Viewing changes to modules/palshad.mod/objects/ghoul.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:
30
30
      IfXIsMoreThanY
31
31
        tmpargument = 0
32
32
        SetContent
33
 
 
34
 
 
35
33
        tmpargument = 1
36
34
        SendMessageNear
37
35
        SetTargetToSelf
38
 
        RespawnTarget // Same location, RespawnCharacter returns to start...
39
 
        EnchantTarget  // Enchant self...
40
 
        tmpargument = 244  // Frame 61...
 
36
        RespawnTarget           // Same location, RespawnCharacter returns to start...
 
37
        EnchantTarget           // Enchant self...
 
38
        tmpargument = 244       // Frame 61...
41
39
        SetFrame
42
40
        tmpargument = ACTIONMD
43
41
        DoActionOverride
72
70
    IfXIsEqualToY
73
71
      tmpargument = 0 - 500
74
72
      SetContent // Won't come back...
 
73
      SetTargetToWhoeverAttacked                //Give exp
 
74
      tmpargument = 20
 
75
      tmpdistance = EXPREVENGE
 
76
      GiveExperienceToTarget
75
77
      tmpargument = 2
76
78
    Else
77
79
      tmpargument = MESSAGEDEATH
85
87
 
86
88
  // Play the sound
87
89
  tmpargument = 1
88
 
  tmpdistance = rand & 2047 + 10000
89
90
  PlaySound
90
91
 
91
92
 
102
103
  tmpy = 235
103
104
  IfXIsMoreThanY
104
105
    tmpargument = tmpx & 1 + 2
105
 
    tmpdistance = rand & 2047 + 10000
106
106
    PlaySound
107
107
    // Randomize the frames...
108
108
    tmpargument = tmpx & 1 + LATCHLEFT
109
109
    PressLatchButton
110
110
  SetTargetToNearbyEnemy
111
111
    tmpx = targetdistance
112
 
    tmpy = 110
 
112
    tmpy = 140
113
113
    IfXIsLessThanY
114
114
      IfFacingTarget
115
115
        tmpargument = rand & 1 + LATCHLEFT
122
122
    tmpturn = targetturnto
123
123
    Compass
124
124
  Else
125
 
    tmpargument = rand & 31 + 120
 
125
    tmpargument = rand & 31 + 60
126
126
    SetTime
127
127
    tmpx = rand & 1023 - 512 + selfspawnx
128
128
    tmpy = rand & 1023 - 512 + selfspawny
146
146
 
147
147
  // Scream
148
148
  tmpargument = 0
149
 
  tmpdistance = rand & 2047 + 10000
150
149
  PlaySound
 
150
 
151
151
  // Chase the attacker
152
152
  SetTargetToWhoeverAttacked
153
153
  IfTargetIsOnHatedTeam