Can somebody help me with "st renan"
I will Bot the map "st Renan" and i need to move the bomb under the
bridge so that the bots can reach it.
thanks.
move bomb by script
Moderator: Moderators
move bomb by script
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207


Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207


-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
A bomb should be pretty easy to move. You need to get a hold of the bomb targetname and its trigger. As luck would have it: in creating a bomb: you also tell it the targetname of its trigger, so here goes:
1) In the script, there should be a line like this:
The first here is the targetname of the bomb model ( $panel_bomb in my example ).
So now you can write something like this:
...to move the visible bomb model 100 units down.
2) A working bomb should have a variable named trigger_name, so try this:
...not sure this is corret, the trigger_name variable may just be interpreted as text, and if so you need to do this instead to make sure the game refers to the trigger:
...but try the first version first.
Hope that helps.
1) In the script, there should be a line like this:
Code: Select all
$panel_bomb thread global/obj_dm.scr::bomb_thinkerSo now you can write something like this:
Code: Select all
$panel_bomb.origin -= ( 0 0 100 )2) A working bomb should have a variable named trigger_name, so try this:
Code: Select all
$panel_bomb.trigger_name.origin -= ( 0 0 100 )Code: Select all
$($panel_bomb.trigger_name).origin -= ( 0 0 100 )Hope that helps.
thanks a lot it work with the first version 
www.mohaaclantb.tk
Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207


Take a look to our server we add bots to more than 120 maps and we never stop
Server IP 91.194.236.203:12207


