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

« back to all changes in this revision

Viewing changes to modules/palsand.mod/objects/spork.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
 
IfUsed
3
 
  tmpargument = 30
4
 
  SetReloadTime
5
 
IfDropped
6
 
  KeepAction
7
 
IfHitGround                             // Make a sound
8
 
  tmpargument = 0                         //
9
 
  tmpdistance = rand & 2047 + 10000       //
10
 
  PlaySound                               //
11
 
IfGrabbed                               // Tell them what they've won...
12
 
  SetTargetToWhoeverIsHolding             //
13
 
  IfTargetIsAPlayer                       //
14
 
    tmpargument = 0                       //
15
 
    SendMessageNear                       //
16
 
End                                     // All done
 
1
// ZZ> This function makes an item fall to the floor when spawned
 
2
IfUsed
 
3
  tmpargument = 30
 
4
  SetReloadTime
 
5
IfDropped
 
6
  KeepAction
 
7
IfHitGround                             // Make a sound
 
8
  tmpargument = 0                         //
 
9
  tmpdistance = rand & 2047 + 10000       //
 
10
  PlaySound                               //
 
11
IfGrabbed                               // Tell them what they've won...
 
12
  SetTargetToWhoeverIsHolding             //
 
13
  IfTargetIsAPlayer                       //
 
14
    tmpargument = 0                       //
 
15
    SendMessageNear                       //
 
16
End                                     // All done