Home   Help Search Login Register  

Author Topic: Respawn without weapons  (Read 1209 times)

0 Members and 1 Guest are viewing this topic.

Offline SafetyCatch

  • Members
  • *
  • War...it's fantastic!
Respawn without weapons
« on: 08 Nov 2004, 14:20:37 »
Anyone know how to make it so when a unit respawns, their weapons are removed??

Thanks

Safety

Strango

  • Guest
Re:Respawn without weapons
« Reply #1 on: 08 Nov 2004, 15:35:46 »
Here's a sample script that should do what you want:

Code: [Select]
@time > 1
@!alive player

#start
@alive player
removeAllWeapons player
@!alive player

goto "start"


Put that into a script that executes on each client's PC and it should work.
« Last Edit: 08 Nov 2004, 15:37:22 by Strango »

Offline SafetyCatch

  • Members
  • *
  • War...it's fantastic!
Re:Respawn without weapons
« Reply #2 on: 08 Nov 2004, 19:58:42 »
Ok cool cheers, so I put it in each playable units init line, for example??  ???
« Last Edit: 08 Nov 2004, 20:05:51 by SafetyCatch »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Respawn without weapons
« Reply #3 on: 08 Nov 2004, 21:24:04 »
you would need to put that into a script, and in the init line if the unit you would put [] exec "NameOfScript.sqs"

Offline SafetyCatch

  • Members
  • *
  • War...it's fantastic!
Re:Respawn without weapons
« Reply #4 on: 09 Nov 2004, 11:02:24 »
Yer that's what I meant :)