Home   Help Search Login Register  

Author Topic: addAction for only 1 player  (Read 782 times)

0 Members and 1 Guest are viewing this topic.

Mike

  • Guest
addAction for only 1 player
« on: 06 Nov 2002, 10:37:57 »
how do u addAction for different individual players?
« Last Edit: 06 Nov 2002, 21:00:16 by Mike »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:addAction for only 1 player
« Reply #1 on: 06 Nov 2002, 23:06:50 »
   :o ??? not sure I really see yer target, buddy (wtf, I never do  ::) ;D ).
uuuhm, howsabout som'n like this (we need a trigger and a scroll for this example) :

Say, we name the goofyhead "GOOF" (stop staring at me like that!!  :hmm: ),
then the action we wanna add could be visible (in the yellow action menu) as :

   "Pull out yer teeth" ( :beat: )

and when used, the "GOOF" will see a red screen and get a damage of 0.7  :-X ;D

Here comes the trigger then (the "on activ." field) :

Outch = GOOF AddAction  ["Pull out yer teeth", "Outch.sqs"]

Right, that wuz the trigger. Then we need to create the scroll (or script  :P ::) )

Open up NOTEPAD and type in this lot :

GOOF SetDammage 0.7; GOOF RemoveAction Outch; exit


Select *ALL FILES* when saving, save as "Outch.sqs" and save to :

 OFP / Users / YerName / Missions / NameOfMission-folder  :o ;)


Yup!  That should do it allright, m8

Laterz  :-*



Mike

  • Guest
Re:addAction for only 1 player
« Reply #2 on: 07 Nov 2002, 03:07:39 »
:cheers: