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

« back to all changes in this revision

Viewing changes to modules/bishopiacity.mod/objects/frostsabre.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
// ZZ> This function makes an item fall to the floor when spawned
 
2
IfSpawned
 
3
  tmpargument = ACTIONJB
 
4
  DoAction
 
5
  KeepAction
 
6
  MakeCrushValid
 
7
 
 
8
IfCrushed
 
9
  tmpx = selfx
 
10
  tmpy = selfy
 
11
  tmpdistance = selfz
 
12
  tmpargument = 1
 
13
  SpawnExactParticle
 
14
  SpawnExactParticle
 
15
  SpawnExactParticle
 
16
  SpawnExactParticle
 
17
  GoPoof
 
18
  tmpargument = 1
 
19
  SendMessageNear
 
20
 
 
21
IfDropped       
 
22
  KeepAction
 
23
 
 
24
IfHitGround
 
25
  tmpargument = 1
 
26
  tmpdistance = rand & 2047 + 10000
 
27
  PlaySound
 
28
 
 
29
IfTakenOut
 
30
  tmpargument = 2
 
31
  tmpdistance = rand & 2047 + 10000
 
32
  PlaySound
 
33
  SetTargetToWhoeverIsHolding
 
34
  IfTargetIsAPlayer
 
35
    tmpargument = 2
 
36
    SendMessageNear
 
37
 
 
38
// Tell them what they've won, Johnny!
 
39
IfGrabbed       
 
40
  SetTargetToWhoeverIsHolding
 
41
  IfTargetIsAPlayer
 
42
    tmpargument = 0
 
43
    SendMessageNear
 
44
 
 
45
// Finish
 
46
End