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

« back to all changes in this revision

Viewing changes to modules/palsand.mod/objects/keya.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
 
  MakeAmmoKnown                           //
4
 
  tmpargument = ACTIONJB                  //
5
 
  DoAction                                //
6
 
  KeepAction                              //
7
 
IfDropped                               // Make it lie on floor
8
 
  KeepAction                              //
9
 
IfHitGround                             // Do a sound
10
 
  tmpargument = 0                         //
11
 
  tmpdistance = rand & 2047 + 7000        //
12
 
  PlaySound                               //
13
 
IfGrabbed                               // The model is pretty bad...
14
 
  SetTargetToWhoeverIsHolding             //
15
 
  IfTargetIsAPlayer                       //
16
 
    tmpargument = 0                         //
17
 
    SendMessageNear                         //
18
 
End                                     // All done
 
1
// ZZ> This function makes an item fall to the floor when spawned
 
2
IfSpawned                               //
 
3
  MakeAmmoKnown                           //
 
4
  tmpargument = ACTIONJB                  //
 
5
  DoAction                                //
 
6
  KeepAction                              //
 
7
IfDropped                               // Make it lie on floor
 
8
  KeepAction                              //
 
9
IfHitGround                             // Do a sound
 
10
  tmpargument = 0                         //
 
11
  tmpdistance = rand & 2047 + 7000        //
 
12
  PlaySound                               //
 
13
IfGrabbed                               // The model is pretty bad...
 
14
  SetTargetToWhoeverIsHolding             //
 
15
  IfTargetIsAPlayer                       //
 
16
    tmpargument = 0                         //
 
17
    SendMessageNear                         //
 
18
End                                     // All done