YesNoOk
avatar

Making a secondary character (Read 7162 times)

Started by Pascal200110, March 15, 2015, 08:39:35 am
Share this topic:
Making a secondary character
#1  March 15, 2015, 08:39:35 am
  • mandar una moto transportesdemoto.com
  • http://www.transportesdemoto.com
    • Spain
    • scottarunyon@armyspy.com
    • www.transportesdemoto.com
Here is the code

[State -3, Helper]
type = Helper
triggerall = NumHelper(0) = 0   
trigger1 = 1
helpertype = player
pausemovetime = 999999
supermovetime = 999999
name = "KFM Double"   
id = 0
pos = 0, 0
postype = p1
stateno = StateNo
keyctrl = 1 
ignorehitpause = 1

[State -3, Helper]
type = BindToRoot
triggerall = NumHelper(0) != 0 
triggerall = IsHelper(0)   
trigger1 = 1
time = 1
facing = 1
pos = -20, -20 
ignorehitpause = 1

[State -3, Helper]
type = StateTypeSet
triggerall = NumHelper(0) != 0
triggerall = IsHelper(0)
trigger1 = Root, StateType = S
statetype = S
physics = S
ignorehitpause = 1

[State -3, Helper]
type = StateTypeSet
triggerall = NumHelper(0) != 0
triggerall = IsHelper(0)
trigger1 = Root, StateType = C
statetype = C
physics = C
ignorehitpause = 1

[State -3, Helper]
type = StateTypeSet
triggerall = NumHelper(0) != 0
triggerall = IsHelper(0)
trigger1 = Root, StateType = A
statetype = A
physics = A
ignorehitpause = 1

[State -3, Helper]
type = ChangeState
triggerall = NumHelper(0) != 0
triggerall = IsHelper(0)
trigger1 = Root, StateNo != [5020,5150]
trigger1 = StateNo != Root, StateNo
value = Root, StateNo
ctrl = 1
ignorehitpause = 1

[State -3, Helper]
type = ChangeState
triggerall = NumHelper(0) != 0
triggerall = IsHelper(0)
trigger1 = Root, StateNo = [5020,5150]
trigger1 = StateNo != Root, StateNo
value = Root, StateNo
ctrl = 0
ignorehitpause = 1

Paste this to statedef -3
enviar cualquier mercancia que desee relacionada con el mundo del motor
http://www.transportesdemoto.com