Anonymous | 2011-04-27 17:38
scripting question

I'm a little bit confused (again) about scripting:
I have read some documentation about sauerbraten scripting, during my tests i found an intresting scripting example by MeatROme (MapTriggerTest) a demonstration map (i found it in the cube wiki) but i suppose you already know about it.

the script is old but marked "for Sauerbraten" in the readme. The cfg shows a counter system.

but Im' focused on the function called beam_me.
This one seems switch in edit mode (during gameplay) add a new teleport in front of the player and returns in game mode.

In my mind this mean the player will teleported away on a specific event. but it seems not work.
I tray to play this level in sp but nothing happend, the level ended with no teleport. and executing this function the console shows some error.

what's the problem?
1-i'm a dumb and i miss understood the script
2-the justice edition scripting system is no more compatible with older scripts

in case 2 : there's some way to in newest scripting mode to do something similar?

thanks

0
points
 (0 votes)
User login
Users on Quadropolis
1 guest & no users online
Created 2021-11-05 01:27
4 weeks 1 day ago
36
points ]
 (4 votes)
Created 2020-12-10 12:49
51 weeks 1 day ago
32
points ]
 (4 votes)
Created 2012-08-30 04:30
9 years 13 weeks ago
10
points ]
 (1 vote)
Created 2019-10-16 01:26
2 years 7 weeks ago
9
points ]
 (1 vote)
Created 2021-06-17 22:42
24 weeks 1 day ago
30
points ]
 (3 votes)
Created 2020-11-30 04:00
1 year 3 days ago
10
points ]
 (1 vote)
Created 2021-05-24 00:01
27 weeks 5 days ago
MisanthropX
92
points ]
 (10 votes)
Created 2019-12-05 20:57
1 year 52 weeks ago
20
points ]
 (2 votes)
Created 2020-12-20 03:04
49 weeks 5 days ago
30
points ]
 (3 votes)
Created 2020-12-04 12:05
52 weeks 14 hours ago
20
points ]
 (2 votes)
Created 2020-12-03 17:12
1 year 9 hours ago
30
points ]
 (3 votes)
Created 2020-06-13 21:05
1 year 24 weeks ago
50
points ]
 (5 votes)
Created 2020-01-23 12:57
1 year 45 weeks ago
78
points ]
 (8 votes)
Created 2020-10-11 13:46
1 year 7 weeks ago
64
points ]
 (7 votes)
Created 2018-12-04 15:12
3 years 11 hours ago
Gangler
36
points ]
 (4 votes)
Created 2020-10-22 00:50
1 year 6 weeks ago
LURKing
13
points ]
 (2 votes)
Created 2020-11-22 21:21
1 year 1 week ago
LURKing
37
points ]
 (4 votes)
Created 2020-11-18 21:08
1 year 2 weeks ago
Shuzomi
30
points ]
 (3 votes)
Created 2020-11-15 18:16
1 year 2 weeks ago
Im_Percynator
Created 2020-11-15 07:21
1 year 2 weeks ago
Who's new
  • letic86
  • BATMAN
  • WASP
  • Im_Percynator
  • micai