Hi! I have some scripts that I want to use in my SP map. I think that they are OK, but It would be better if You check it:
rem ( "comment" ); print ( "Behind You !!!" );
This is the simpliest script ever :D
I've compiled it to behind.ibi
I've put trigger_once and target_scriptrunner to my map. What next?
I didn't make it!
make a key/value on the scriptrunner of Usescript/behind
And be sure to target the trigger_once to the target_scriptrunner.
Target the trigger_once to the target_scriptrunner and check the "runonactivator" box for the target_scriptrunner. Also, add the usescript / mapname/behind.ibi to that scriptrunner, and you're all set, if it wasn't for one mistake. In your script you have the following line; '
print ( "Behind You !!!" );
Which is wrong. It should be this:
print ( "!Behind You !!!" );
If you don't add an exclamation mark to the print line, it won't show.
EDIT: WADE, INSTAPOSTING SUCKS.
Should scriptrunner be "inactive", too?
Hmm... doesn't work (like always)
It shouldn't be inactive, just runonactivator. Also, where exactly is your behind.ibi file?
Console doesn't shows message like "couldn't find file..."
Also I want to make 2 guys fighting (they should be enemies for everybody)
So I've made this:
part of npc file playerTeam TEAM_ENEMY enemyTeam TEAM_ENEMY
but they aren't fighting with anybody, like they are TEAM_PLAYER of everybody. What's wrong?
JA can only handle two teams and nuetral, sorry.
Also, enter usescript / boxing/behind.ibi, because scripts never display a "Couldn't find file" error.
OK. I will do it.
Can I make them fighting using script? I need them to cutscene (when I leart how to cutscene). Now player will just observe them?
And I think you are wrong... I had some errors "couldn't find script blah blah blah.ibi"