My stupid script doesn't work -1 reply

Please wait...

insanelazarez

Here take this basic equipment

50 XP

27th April 2008

0 Uploads

121 Posts

0 Threads

#1 10 years ago

Hello guys, My problem is "simple". I want to see a bandid inside of the bunker when the game starts:naughty:. The name of the file is "my_test.script". In this file i ONLY have this (the local spawn_position is the position i want, right?): -- function proceed() local actor = db.actor if level_name == "l01_escape" then for i = 1, 1 do local spawn_position = vector():set( -247.34, -23.27, -134.27 ) alife():create("val_bandit_respawn_4", spawn_position, db.actor:level_vertex_id() , db.actor:game_vertex_id() ) end end -- Well, like i said... it doesn't work:mad:. I'm really bad with scripts, so any ideas? That's it, guys. Thanks