柏鳗__赛奥夫 发表于 2014-7-13 10:39:42

请教几个Cleo代码什么意思?


// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'ACTOR'

:ACTOR_11
wait 0
if
   Player.Defined($PLAYER_CHAR)
else_jump @ACTOR_11
if
00FF:   actor $PLAYER_ACTOR sphere 0 in_sphere 59.4414 2069.651 17.44539 radius 250.0 250.0 250.0 on_foot
else_jump @ACTOR_11
Model.Load(#BRASSKNUCKLE)
Model.Load(#BMYCG)

:ACTOR_89
wait 0
if
   Model.Available(#BMYCG)
else_jump @ACTOR_89
1@ = Actor.Create(Mission1, #BMYCG, 135.1057, 1956.423, 19.4384)
Actor.Angle(1@) = 0.6267
Actor.WeaponAccuracy(1@) = 100
0446: set_actor 1@ immune_to_headshots 0
060A: create_decision_maker_type 1 store_to 10@ // decision\allowed\m_.ped files
07E5: copy_decision_maker 10@ to 11@
Actor.Health(1@) = 30000
0946: set_actor 1@ actions_uninterupted_by_weapon_fire 0
0245: set_actor 1@ walk_style_to "SWAT"
07DD: set_actor 1@ temper_to 100 // see pedstats.dat
02E0:   actor 1@ aggressive
03FE: set_actor 1@ money 0
01B2: give_actor 1@ weapon 1 ammo 0 // Load the weapon model before using this
0850: AS_actor 1@ follow_actor $PLAYER_ACTOR
05E2: AS_actor 1@ kill_actor $PLAYER_ACTOR
Model.Destroy(#BMYCG)
wait 0
if

:ACTOR_271
wait 0
if
   not Actor.Dead(1@)
else_jump @ACTOR_334
if
0104:   actor $PLAYER_ACTOR near_actor 1@ radius 100.0 100.0 100.0 sphere 0
else_jump @ACTOR_334
jump @ACTOR_271

:ACTOR_334
Actor.RemoveReferences(1@)
jump @ACTOR_11
这个是在军事基地附近出现一个攻击主角的人。必须走过去才会出现。
其中
060A: create_decision_maker_type 1 store_to 10@ // decision\allowed\m_.ped files
07E5: copy_decision_maker 10@ to 11@
这个代码是什么意思? 10@to11@是什么意思?create_decision_maker_type 1 store_to 10@这句话又是什么意思?

柏鳗__赛奥夫 发表于 2014-7-13 10:41:05

另外。想找个会cleo的师傅。如果可以 加qq2352340650
谢谢!

対立の私 发表于 2014-7-13 10:53:15

穆●赦 发表于 2014-7-13 12:14:59

路过

ゞ{无~|~语、》 发表于 2014-7-13 14:20:57

路過

2504287402 发表于 2014-7-13 14:23:28

不会

SLcrow 发表于 2014-7-13 15:09:03

在hud上造图标
复制一个图标
{:5_138:}
页: [1]
查看完整版本: 请教几个Cleo代码什么意思?