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

« back to all changes in this revision

Viewing changes to modules/rogue.mod/objects/lbow.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
1
// ZZ> This function makes an item fall to the floor when spawned
 
2
 
 
3
IfUsed
 
4
  tmpargument = 35      //Set attack speed
 
5
  SetReloadTime
 
6
  IfAmmoOut
 
7
    tmpargument = 3     //No ammo, play string sound
 
8
    tmpdistance = 11025
 
9
    PlaySound
 
10
 
2
11
IfSpawned                               //
3
12
  MakeAmmoKnown                           //
4
13
  tmpargument = ACTIONJB                  //
28
37
  IfTargetIsAPlayer                       //
29
38
    tmpargument = 0                       //
30
39
    SendMessageNear                       //
31
 
IfUsed
32
 
  tmpargument = 50
33
 
  SetReloadTime
34
 
  IfAmmoOut
35
 
    tmpargument = 3
36
 
    tmpdistance = 11025
37
 
    PlaySound
 
40
 
38
41
End                                     // All done