Forum

> > CS2D > General > About Tiggre_IF
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch About Tiggre_IF

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt About Tiggre_IF

DarkBooy
User Off Offline

Zitieren
I Made Map ... The Map Had Triggre_If ..
i Write in :
1
'ham ==parse ham("killplayer 1")'
My Question is :
• Can I Change name conditions To other name ?
• its allowed In Triggre_if to make like this? : ham ==parse

• Can you Fix it.?
• If You Get other solutions ..(just in Triggre_if/map)
tell me .

and i need to change name condition to other name .
and Thanx .
1× editiert, zuletzt 27.03.13 18:48:44

alt Re: About Tiggre_IF

Gajos
BANNED Off Offline

Zitieren
WTF? What mean Triggre_IF? Maybe Trigger_if
and wtf 'ham ?
code is bad. Say us how your a script are working?

alt Re: About Tiggre_IF

Avo
User Off Offline

Zitieren
"parse" doesn't return anything as fas as I know. If variable 'ham' is nil/false, entity will trigger then.

alt Re: About Tiggre_IF

DarkBooy
User Off Offline

Zitieren
1
(function() local bla=parse bla("killplayer "..id.."") return false end)()



> This Code Is Work In Lua Script ..

• I need to work in (Triggre_if/map)

I very need To Work this Code .

Thanck .

alt Re: About Tiggre_IF

Apache uwu
User Off Offline

Zitieren
1
(function() parse("killplayer 1") return false end)()

Should suffice. Now when the code is triggered by an entity, the player with an ID of 1 will die.

alt Re: About Tiggre_IF

DarkBooy
User Off Offline

Zitieren
user Apache uwu hat geschrieben
1
(function() parse("killplayer 1") return false end)()

Should suffice. Now when the code is triggered by an entity, the player with an ID of 1 will die.


Man ... ok it work but ... i need to change name "parse" to other name like : "bla"

> its Work In Triggre_If ?
> I need make (Local for bla=parse) can i make this?

alt Re: About Tiggre_IF

VADemon
User Off Offline

Zitieren
user DarkBooy hat geschrieben
user Apache uwu hat geschrieben
1
(function() parse("killplayer 1") return false end)()

Should suffice. Now when the code is triggered by an entity, the player with an ID of 1 will die.


Man ... ok it work but ... i need to change name "parse" to other name like : "bla"

> its Work In Triggre_If ?
> I need make (Local for bla=parse) can i make this?

You shouldn't be able to create a local inside of trigger_If
That's why the only way is creating a global and then using it.

alt surprise!

DarkBooy
User Off Offline

Zitieren
√ I just need to change name "parse" to other name like: "bla" and i did !!

If you not Belive me .. here is Code :

1
(function() local bla=parse bla("killplayer 1") return false end)()

thats what i want .

Note:This Code is Work .

√ Thanx For some Info .
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht