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

« back to all changes in this revision

Viewing changes to modules/soldier.mod/objects/evilforce.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
//---------------------------------------------------------------------
 
2
//Only effect non-evil..
 
3
IfSpawned
 
4
  JoinEvilTeam
 
5
  tmpargument = 10
 
6
  SetTime
 
7
 
 
8
//----------------------------------------------------------------------
 
9
//Sound the player that he is stepping on something evil
 
10
 
 
11
IfTimeOut
 
12
  tmpargument = 20
 
13
  SetTime
 
14
  tmpx = weight
 
15
  tmpy = 20
 
16
  IfXIsMoreThanY
 
17
    SetTargetToWhoeverBumped
 
18
    IfTargetIsOnHatedTeam
 
19
      tmpargument = 0
 
20
      SendMessageNear
 
21
      tmpargument = 0
 
22
      PlaySound
 
23
    Else
 
24
    SetTargetToOldTarget
 
25
 
 
26
//----------------------------------------------------------------------
 
27
End
 
28
//----------------------------------------------------------------------