SphereServer BugTracker - SphereServer
View Issue Details
0002575SphereServerexecutable - genericpublic10-02-16 11:2511-07-16 21:31
nolok 
Coruja 
normalminoralways
closedunable to reproduce 
 
 
Automated (specify build number)
None
None
0002575: TRIGGER keyword returns incorrect value
Latest nightly.
In game .show TRIGGER @Something or .show TRIGGER=@Something and in scripts serv.log <TRIGGER @Something>, <TRIGGER=@Something>, <TRIGGER=@Something 1> and so on returns always the value "2". It happens for custom, non-custom, unexistant triggers; tried also to return or not a value in a custom trigger, in every case it returns 2.
No tags attached.
Issue History
10-02-16 11:25nolokNew Issue
11-07-16 21:31CorujaNote Added: 0003016
11-07-16 21:31CorujaStatusnew => closed
11-07-16 21:31CorujaAssigned To => Coruja
11-07-16 21:31CorujaResolutionopen => unable to reproduce

Notes
(0003016)
Coruja   
11-07-16 21:31   
probably you're using wrong syntax to call the trigger, or calling it on wrong SRC

the correct syntax to manually call triggers is 'TRIGGER @Something' (eg: '.show trigger @Something' or <TRIGGER @Something>) and not <TRIGGER=@Something>

I tested here using this test event and it's working fine
1) .events +e_test
2) .show trigger @Testing //<-- this will return 6

[EVENTS e_test]
ON=@Testing
return 6